Parent Directory
|
Revision Log
|
Patch
--- trunk/RomCheater/RomCheaterConfigDialog.cs 2012/05/09 22:31:56 94 +++ trunk/RomCheater/RomCheaterConfigDialog.cs 2012/05/09 23:23:38 99 @@ -90,9 +90,15 @@ int value = (int)flags; CheckBox chkloggerflags = new CheckBox(); + chkloggerflags.Font = this.Font; chkloggerflags.Name = name; chkloggerflags.Text = name; chkloggerflags.Tag = value; + Graphics g = chkloggerflags.CreateGraphics(); + + Size size = g.MeasureString(chkloggerflags.Text, chkloggerflags.Font).ToSize(); + chkloggerflags.Width = size.Width + 25; + grpLoggingFlags_flow.Controls.Add(chkloggerflags); logger.Debug.WriteLine("\tAdding logger flag: {0} value: 0x{1:x4}", name, value);
ViewVC Help | |
Powered by ViewVC 1.1.22 |