1 2008-07-07 Ivan N. Zlatev <contact@i-nz.net>
3 * TableLayout.cs: Controls bounds should be taken into account regardless
4 of their Dock and Anchor states.
7 2008-06-10 Jonathan Pobst <monkey@jpobst.com>
9 * TableLayoutSettingsTypeConverter.cs: Patch from Andy Hume to
12 2008-06-10 Jonathan Pobst <monkey@jpobst.com>
14 * DefaultLayout.cs, TableLayout.cs, FlowLayout.cs: Use SetBoundsInternal
15 instead of SetBoundsCoreInternal.
17 2008-06-09 Jonathan Pobst <monkey@jpobst.com>
19 * DefaultLayout.cs, TableLayout.cs, FlowLayout.cs: Use SetBoundsCoreInternal
22 2008-06-09 Jonathan Pobst <monkey@jpobst.com>
24 * TableLayoutSettingsTypeConverter.cs: Fix spelling of Columns.
25 Accomadate .Net's use of culture separator. [Fixes bug #398274]
27 2008-06-03 Jonathan Pobst <monkey@jpobst.com>
29 * DefaultLayout.cs: It appears that TableLayoutPanels are immune to
30 AutoSizeMode and always ShrinkAndGrow. [Fixes bug #396433]
32 2008-06-02 Jonathan Pobst <monkey@jpobst.com>
34 * TableLayout.cs: Fix a c&p error so we correctly calculate row
35 border heights. [Fixes part of bug #396433]
37 2008-03-05 Jonathan Pobst <monkey@jpobst.com>
39 ArrangedElementCollection.cs: corcompare - fix parameter names.
41 2008-03-05 Jonathan Pobst <monkey@jpobst.com>
43 * TableLayout.cs: Guard against an exception when a control's colspan
44 or rowspan is greater than the number of columns or rows.
47 2008-02-19 Jonathan Pobst <monkey@jpobst.com>
49 * FlowLayout.cs: Take padding into account when determining if there
50 is still room left on a row. [Fixes bug #361448]
52 2008-01-23 Jonathan Pobst <monkey@jpobst.com>
54 * TableLayout.cs: Don't include Dock.Fill, multicolumn/multirow spanned
55 controls when calculating column/row sizes.
58 2008-01-22 Jonathan Pobst <monkey@jpobst.com>
60 * DefaultLayout.cs: Remove using the padding. This is now included
61 properly in the DisplayRectangle. Fixes a broken test.
63 2008-01-22 Jonathan Pobst <monkey@jpobst.com>
65 * TableLayout.cs: When we reset our current_pos back to the left
66 beginning, make sure we take padding into account.
69 2007-12-13 Jonathan Pobst <monkey@jpobst.com>
71 * TableLayout.cs: Use ExplicitBounds so that we get the user requested
72 size, not the AutoSize/Dock size. Make CalculateControlPositions
73 internal so that TableLayoutPanel can call it.
76 2007-10-16 Jonathan Pobst <monkey@jpobst.com>
78 * TableLayout.cs: Revert the last change to TableLayout. It breaks
79 other, more important things.
81 2007-10-15 Jonathan Pobst <monkey@jpobst.com>
83 * TableLayout.cs: If a control has an explicitly set col/row greater
84 than the number of columns/rows in the panel, expand the table to
85 accommodate the control. [Fixes bug #332892]
87 2007-10-11 Jonathan Pobst <monkey@jpobst.com>
89 * TableLayout.cs: When calculating the size of AutoSize row/columns,
90 don't take !Visible controls into account. When laying out controls,
91 start from the DisplayRectangle instead of (0,0) to account for
92 a scrolled TableLayoutPanel where the start point is negative.
95 2007-09-17 Jonathan Pobst <monkey@jpobst.com>
97 * DefaultLayout.cs: Fix copy/paste error for dist_right. Fixes
100 2007-09-13 Jonathan Pobst <monkey@jpobst.com>
102 * TableLayout.cs: Use control's PreferredSize when figuring up the
103 size of an AutoSize row/column.
105 2007-09-12 Jonathan Pobst <monkey@jpobst.com>
107 * DefaultLayout.cs: Apply AutoSize logic to the variable dimension
110 2007-09-11 Jonathan Pobst <monkey@jpobst.com>
112 * DefaultLayout.cs: When working with Anchor = none, and we move a
113 control, we need to update its dist_right/dist_bottom.
116 2007-09-06 Jonathan Pobst <monkey@jpobst.com>
118 * DefaultLayout.cs: Only LayoutAutoSizeContainer if the container is
119 a Form, others should be taken care of by their parent.
120 * TableLayout.cs: If a control is AutoSize, default to its preferred
121 size if possible. [Fixes bug #82605]
123 2007-07-31 Jonathan Pobst <monkey@jpobst.com>
125 * ArrangedElementCollection.cs: Rename internal method RemoveAt
126 so that subclasses can have a public version of it without hiding.
128 2007-07-23 Rolf Bjarne Kvinge <RKvinge@novell.com>
130 * ArrangedElementCollection.cs: Implement NotSupported behaviour
133 2007-07-07 Jonathan Pobst <monkey@jpobst.com>
135 * TableLayout.cs: Parenthesis out of place when centering control
136 in a table cell. [Fixes bug #81936]
138 2007-06-21 Jonathan Pobst <monkey@jpobst.com>
140 * TableLayout.cs: Take CellBorderStyle into account when laying
141 stuff out. [Fixes bug #81884]
143 2007-06-12 Jonathan Pobst <monkey@jpobst.com>
145 * TableLayout.cs: When we come across a Dock=Fill control, use the
146 ExplicitSize to calculate an AutoSize row/column from.
149 2007-06-07 Jonathan Pobst <monkey@jpobst.com>
151 * DefaultLayout.cs: When calculating autosize children, default to
152 ExplicitSize. After laying out a container's children, if the container
153 is AutoSize, adjust its size if necessary.
155 2007-05-23 Jonathan Pobst <monkey@jpobst.com>
157 * DefaultLayout.cs: Take parent's padding into account when docking
160 2007-05-07 Jonathan Pobst <monkey@jpobst.com>
161 Applying contributed patch from Stefan Noack.
163 * DefaultLayout.cs: Implement AutoSize logic.
165 2007-04-24 Andreia Gaita <avidigal@novell.com>
167 * TableLayoutSettingsTypeConverter.cs: Implemented the converters
168 for TableLayoutSettings.
170 2007-04-22 Jonathan Pobst <monkey@jpobst.com>
172 * DefaultLayout.cs: Use the parent's DisplayRectangle for laying
173 out docked children. [Fixes bug #81397]
175 2007-04-04 Jonathan Pobst <monkey@jpobst.com>
177 * FlowLayout.cs: Call SetBounds with BoundsSpecified.None instead of
178 using Control Size, Location setters.
180 2007-03-24 Jonathan Pobst <monkey@jpobst.com>
182 * DefaultLayout.cs: Call SetBounds with BoundsSpecified.None instead
183 of using SetImplicitBounds.
184 * TableLayout.cs: Call SetBounds with BoundsSpecified.None instead of
185 modifying Control.Bounds.
187 2007-02-28 Jonathan Pobst <monkey@jpobst.com>
189 * DefaultLayout.cs: Use ClientRectangle instead of DisplayRectangle
190 to layout children because DisplayRectangle can be overridden.
193 2007-02-14 Jonathan Pobst <monkey@jpobst.com>
195 * FlowLayout.cs: Add support for laying out ToolStrips, which
196 use ToolStripItems instead of Controls.
198 2007-01-29 Jonathan Pobst <monkey@jpobst.com>
200 * DefaultLayout.cs: MdiClient should always be added last, it should
201 never Dock:Fill under other controls. [Fixes a part of bug #80223]
203 2007-01-20 Jonathan Pobst <monkey@jpobst.com>
205 * DefaultLayout.cs: Remove special loop for Dock.Fill and handle
206 it with the other docking code. [Fixes bug #80227]
208 2007-01-09 Jonathan Pobst <monkey@jpobst.com>
210 * DefaultLayout.cs: Use PreferredSize for non-Anchor/Dock controls. (2.0)
211 Change a SetBounds to SetImplicitBounds.
213 2007-01-07 Jonathan Pobst <monkey@jpobst.com>
215 * ArrangedElementCollection.cs: Make list internal.
217 2006-12-28 Chris Toshok <toshok@ximian.com>
219 * DefaultLayout.cs: split out the various parts (docking,
220 anchoring) into separate methods. make use of the
221 Control.ControlLayoutType property, as well as
222 Control.VisibleInternal (and fix a couple of unit tests which were
223 broken due to use of Visible here.)
225 2006-12-25 Chris Toshok <toshok@ximian.com>
227 * DefaultLayout.cs: invert the tests for anchoring to make the
228 code a little more compact.
230 2006-12-25 Chris Toshok <toshok@ximian.com>
232 * DefaultLayout.cs: remove references to dist_left and dist_top.
233 just use left and top instead.
235 2006-12-23 Chris Toshok <toshok@ximian.com>
237 * TableLayoutSettingsTypeConverter.cs: new file, a skeleton.
239 2006-12-23 Chris Toshok <toshok@ximian.com>
241 * DefaultLayout.cs: include this in 1.1, and make use of
242 SetImplicitBounds like the Control.PerformLayout code does.
244 2006-12-06 Chris Toshok <toshok@ximian.com>
246 * DefaultLayout.cs: make Control.child_controls private. switch
247 all uses over to Control.Controls.
249 2006-12-04 Chris Toshok <toshok@ximian.com>
251 * ArrangedElementCollection.cs: fix up corcompare for this file.
252 we need to make all the interface methods explicit, not public,
253 and add internal methods that can be called from the subclasses
254 (we also call them from the explicit implementations.)
256 2006-11-30 Jonathan Pobst <monkey@jpobst.com>
257 * ArrangedElementCollection.cs: Make constructor internal.
258 * FlowLayout.cs: Make work with ToolStrip.
260 2006-10-02 Jonathan Pobst <monkey@jpobst.com>
261 * ArrangedElementCollection.cs: Initial commit.
263 2006-09-15 Jonathan Pobst <monkey@jpobst.com>
264 * DefaultLayout.cs, FlowLayout.cs: Initial commit.