https://bugzilla.novell.com/show_bug.cgi?id=412583
Summary: TableLayoutPanel:Change of Column or Row Styles should
refresh layout
Product: Mono: Class Libraries
Version: 1.9
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Windows.Forms
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
Found By: ---
Created an attachment (id=230239)
--> (https://bugzilla.novell.com/attachment.cgi?id=230239)
Repro -- app to exercise TableLayoutPanel v2
Change of Column or Row Styles should refresh layout. Does in MSFT, doesn't in
Mono.
Three cases, 1) add/remove to styles collection, 2) change an SizeType on an
item, 3) change a size on an item. Of course each applies to columns and rows.
Repro with app attached (TableLayoutSampleWithEditor2.cs)
1. Run
"Action 1)"
2. Add at (3,2)
See new button at 3,2, and empty rows and columns above that.
3. Edit the column style settings
Hit <Styles…> button, add three new items, and edit them to
autosize,absolute=20,autosize respectively. Hit OK.
Expect the display to have refreshed and show the second column 20pixels wide.
Does in MSFT.
No change in Mono! Now edit another property (e.g. change CellBorderStyle),
now the layout refreshes.
"Action 2)"
4. Hit the <Collections direct…> button, and in new property grid edit
"ColumnsStyles_Zero_SizeType" property. Change the type from AutoSize to
Absolute.
Expect the display to have refreshed and show the first column 20pixels wide.
Does in MSFT.
No change in Mono! Now edit another property (e.g. change CellBorderStyle),
now the layout refreshes.
"Action 3)"
4. Hit the <Collections direct…> button, and in new property grid edit
"ColumnsStyles_Zero_Size" property. Change the value from 20 to 200.
Expect the display to have refreshed and show the first column 200pixels wide.
Does in MSFT.
No change in Mono! Now edit another property (e.g. change CellBorderStyle),
now the layout refreshes.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs