[Mono-bugs] [Bug 399316] New: Controls on Windows Forms aren't aligned properly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jun 11 11:35:53 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=399316


           Summary: Controls on Windows Forms aren't aligned properly
           Product: Mono: Class Libraries
           Version: 1.9.0
          Platform: x86
        OS/Version: Windows XP
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: MikeGratsas at techemail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Third Party Developer/Partner


Alignment of controls depends from internal private field LayoutType
layout_type. Possible values of enum are LayoutType.Dock and LayoutType.Anchor.
By default controls have property Control.Dock = DockStyle.None. I assigned
value to Control.Anchor = Bottom, Right. Then Control.Dock = DockStyle.None is
assigned. However layout_type = LayoutType.Dock now and control isn't aligned
properly according to Control.Anchor value. In my opinion layout_type should be
LayoutType.Anchor in all cases when Control.Dock = DockStyle.None. Please
review sources for Control.Dock property. It must be poined out Visual Studio
designers generate statements to assign control properties in alfabet order
(i.e. Anchor first, Dock then). Therefore this issue is important converting MS
projects.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list