Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=78197 --- shadow/78197 2006-05-11 12:49:44.000000000 -0400 +++ shadow/78197.tmp.29361 2006-05-11 12:53:06.000000000 -0400 @@ -1,29 +1,70 @@ Bug#: 78197 Product: Mono: Class Libraries Version: unspecified -OS: +OS: unknown OS Details: Status: NEW Resolution: -Severity: +Severity: Unknown Priority: Normal Component: Windows.Forms AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] QAContact: [EMAIL PROTECTED] TargetMilestone: --- URL: -Cc: -Summary: PropertyGrid lack font selector +Summary: [PATCH] PropertyGrid lack font selector Run the sample: mono winforms/propertygrid/swf-propertygrid.exe Select "Font" from the list, and click on the popup button, a font selector dialog should popup, but none appears. ------- Additional Comments From [EMAIL PROTECTED] 2006-05-11 12:49 ------- Created an attachment (id=16994) proposed patch part 1 + +------- Additional Comments From [EMAIL PROTECTED] 2006-05-11 12:53 ------- +Note that you'll need the patch for #78370 to run this simplified +repro correctly: + +using System; +using System.Drawing; +using System.Windows.Forms; + +public class Test : Form +{ + class Target + { + public Font FontObj { + get { return font; } + set { font = value; } + } + + Font font = new Font (FontFamily.GenericSerif, 1); + } + + public static void Main () + { + Application.Run (new Test ()); + } + + public Test () + { + PropertyGrid p = new PropertyGrid (); + p.Dock = DockStyle.Fill; + Controls.Add (p); + p.SelectedObject = new Target (); + } +} + + +There seems another bug in Font UI editor that it does not return +changed font value (nothing is changed after selecting the Font and +click OK in the FontDialog). + +winforms/fontdialog/swf-fontdialog.exe itself works fine (it reflects +the selection). _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
