disable broken tests on net_4_0
[mcs.git] / class / Managed.Windows.Forms / System.Windows.Forms.Layout / ChangeLog
blob5f09aefab3ef32545a30f839064db844b99cbabe
1 2009-02-04  Jonathan Pobst  <monkey@jpobst.com>
3         * FlowLayout.cs: When laying out ToolStripItems, they should be
4         the height of the ToolStrip, not their preferred height.
5         [Fixes bug #469196]
7 2008-11-07  Jonathan Pobst  <monkey@jpobst.com>
9         * DefaultLayout.cs: Apply patch from Jonathan Anderson that keeps
10         undocked autosize controls from moving when resized.
11         [Fixes bug #439479]
13 2008-11-06  Jonathan Pobst  <monkey@jpobst.com>
15         * DefaultLayout.cs: Apply patch from Jonathan Anderson that better
16         handles AutoSize controls when docked.
17         [Fixes bug #439443]
19 2008-10-13  Jonathan Pobst  <monkey@jpobst.com>
21         * TableLayout.cs: My previous fix broke a test, tweak it a bit.
23 2008-10-08  Jonathan Pobst  <monkey@jpobst.com>
25         * TableLayout.cs: If multiple controls are set to the same cell,
26         flow the additional ones to other empty cells.  [Fixes bug #433531]
28 2008-09-12  Jonathan Pobst  <monkey@jpobst.com>
30         * TableLayoutSettingsTypeConverter.cs: Don't create an instance of 
31         TableLayoutPanel in ConvertFrom.
32         [Fixes bug #425647]
34 2008-07-28  Ivan N. Zlatev  <contact@i-nz.net>
36         * TableLayout.cs: MS adds rows instead of columns even when 
37         GrowStyle is AddColumns, but RowCount is 0.
39 2008-07-26  Ivan N. Zlatev  <contact@i-nz.net>
41         * TableLayout.cs: Perform layout even if they are no child controls, so 
42         that cell sizes are updated properly for the cell border painting.
44 2008-07-25  Ivan N. Zlatev  <contact@i-nz.net>
46         * TableLayout.cs: For newly created cells for controls without a 
47         specifically assinged such enforce AddRows if ColumnCount == 0 else 
48         AddColumns if RowCount == 0.
49         [Fixes bug #412163]
51 2008-07-25  Ivan N. Zlatev  <contact@i-nz.net>
53         * TableLayout.cs: Automagically add the required number of columns/rows 
54         if the control is added at non-existent such. Note that ColumnCount and 
55         RowCount do not change in LayoutSettings.
56         [Fixes bug #412161]
58 2008-07-25  Ivan N. Zlatev  <contact@i-nz.net>
60         * TableLayout.cs: Initialize columns and rows as empty array, so that we 
61         can drop the null check when drawing and always draw the control border, 
62         but void for the cell borders if there aren't any.
63         [Fixes bug #411858]
65 2008-07-07  Ivan N. Zlatev  <contact@i-nz.net>
67         * TableLayout.cs: Controls bounds should be taken into account regardless
68         of their Dock and Anchor states.
69         [Fixes bug #402651]
71 2008-06-10  Jonathan Pobst  <monkey@jpobst.com>
73         * TableLayoutSettingsTypeConverter.cs: Patch from Andy Hume to
74         use InvariantCulture.
76 2008-06-10  Jonathan Pobst  <monkey@jpobst.com>
78         * DefaultLayout.cs, TableLayout.cs, FlowLayout.cs: Use SetBoundsInternal
79         instead of SetBoundsCoreInternal.
81 2008-06-09  Jonathan Pobst  <monkey@jpobst.com>
83         * DefaultLayout.cs, TableLayout.cs, FlowLayout.cs: Use SetBoundsCoreInternal
84         instead of SetBounds.
86 2008-06-09  Jonathan Pobst  <monkey@jpobst.com>
88         * TableLayoutSettingsTypeConverter.cs: Fix spelling of Columns.
89         Accomadate .Net's use of culture separator.  [Fixes bug #398274]
91 2008-06-03  Jonathan Pobst  <monkey@jpobst.com>
93         * DefaultLayout.cs: It appears that TableLayoutPanels are immune to
94         AutoSizeMode and always ShrinkAndGrow.  [Fixes bug #396433]
96 2008-06-02  Jonathan Pobst  <monkey@jpobst.com>
98         * TableLayout.cs: Fix a c&p error so we correctly calculate row
99         border heights.  [Fixes part of bug #396433]
101 2008-03-05  Jonathan Pobst  <monkey@jpobst.com>
103         ArrangedElementCollection.cs: corcompare - fix parameter names.
105 2008-03-05  Jonathan Pobst  <monkey@jpobst.com>
107         * TableLayout.cs: Guard against an exception when a control's colspan
108         or rowspan is greater than the number of columns or rows.
109         [Fixes bug #367249]
111 2008-02-19  Jonathan Pobst  <monkey@jpobst.com>
113         * FlowLayout.cs: Take padding into account when determining if there
114         is still room left on a row.  [Fixes bug #361448]
116 2008-01-23  Jonathan Pobst  <monkey@jpobst.com>
118         * TableLayout.cs: Don't include Dock.Fill, multicolumn/multirow spanned
119         controls when calculating column/row sizes.
120         [Fixes bug #355408]
122 2008-01-22  Jonathan Pobst  <monkey@jpobst.com>
124         * DefaultLayout.cs: Remove using the padding.  This is now included
125         properly in the DisplayRectangle.  Fixes a broken test.
127 2008-01-22  Jonathan Pobst  <monkey@jpobst.com>
129         * TableLayout.cs: When we reset our current_pos back to the left
130         beginning, make sure we take padding into account.
131         [Fixes bug #354676]
133 2007-12-13  Jonathan Pobst  <monkey@jpobst.com>
135         * TableLayout.cs: Use ExplicitBounds so that we get the user requested
136         size, not the AutoSize/Dock size.  Make CalculateControlPositions
137         internal so that TableLayoutPanel can call it.
138         [Fixes bug #346246]
140 2007-10-16  Jonathan Pobst  <monkey@jpobst.com>
142         * TableLayout.cs: Revert the last change to TableLayout.  It breaks
143         other, more important things.
145 2007-10-15  Jonathan Pobst  <monkey@jpobst.com>
147         * TableLayout.cs: If a control has an explicitly set col/row greater
148         than the number of columns/rows in the panel, expand the table to
149         accommodate the control.  [Fixes bug #332892]
151 2007-10-11  Jonathan Pobst  <monkey@jpobst.com>
153         * TableLayout.cs: When calculating the size of AutoSize row/columns,
154         don't take !Visible controls into account.  When laying out controls,
155         start from the DisplayRectangle instead of (0,0) to account for
156         a scrolled TableLayoutPanel where the start point is negative.
157         [Fixes bug #332892]
159 2007-09-17  Jonathan Pobst  <monkey@jpobst.com>
161         * DefaultLayout.cs: Fix copy/paste error for dist_right.  Fixes
162         reopened bug #325429.
164 2007-09-13  Jonathan Pobst  <monkey@jpobst.com>
166         * TableLayout.cs: Use control's PreferredSize when figuring up the
167         size of an AutoSize row/column.
169 2007-09-12  Jonathan Pobst  <monkey@jpobst.com>
171         * DefaultLayout.cs: Apply AutoSize logic to the variable dimension 
172         of Docked controls.
174 2007-09-11  Jonathan Pobst  <monkey@jpobst.com>
176         * DefaultLayout.cs: When working with Anchor = none, and we move a
177         control, we need to update its dist_right/dist_bottom.
178         [Fixes bug #82762]
180 2007-09-06  Jonathan Pobst  <monkey@jpobst.com>
182         * DefaultLayout.cs: Only LayoutAutoSizeContainer if the container is
183         a Form, others should be taken care of by their parent.
184         * TableLayout.cs: If a control is AutoSize, default to its preferred
185         size if possible.  [Fixes bug #82605]
187 2007-07-31  Jonathan Pobst  <monkey@jpobst.com>
189         * ArrangedElementCollection.cs: Rename internal method RemoveAt
190         so that subclasses can have a public version of it without hiding.
192 2007-07-23  Rolf Bjarne Kvinge <RKvinge@novell.com> 
194         * ArrangedElementCollection.cs: Implement NotSupported behaviour
195           confirmed by tests.
197 2007-07-07  Jonathan Pobst  <monkey@jpobst.com>
199         * TableLayout.cs: Parenthesis out of place when centering control
200         in a table cell.  [Fixes bug #81936]
202 2007-06-21  Jonathan Pobst  <monkey@jpobst.com>
204         * TableLayout.cs: Take CellBorderStyle into account when laying
205         stuff out.  [Fixes bug #81884]
207 2007-06-12  Jonathan Pobst  <monkey@jpobst.com>
209         * TableLayout.cs: When we come across a Dock=Fill control, use the
210         ExplicitSize to calculate an AutoSize row/column from.
211         [Fixes bug #81843]
213 2007-06-07  Jonathan Pobst  <monkey@jpobst.com>
215         * DefaultLayout.cs: When calculating autosize children, default to
216         ExplicitSize.  After laying out a container's children, if the container
217         is AutoSize, adjust its size if necessary.
219 2007-05-23  Jonathan Pobst  <monkey@jpobst.com>
221         * DefaultLayout.cs: Take parent's padding into account when docking
222         children.
224 2007-05-07  Jonathan Pobst  <monkey@jpobst.com>
225         Applying contributed patch from Stefan Noack.
227         * DefaultLayout.cs: Implement AutoSize logic.   
229 2007-04-24  Andreia Gaita  <avidigal@novell.com>
231         * TableLayoutSettingsTypeConverter.cs: Implemented the converters
232         for TableLayoutSettings.
234 2007-04-22  Jonathan Pobst  <monkey@jpobst.com>
236         * DefaultLayout.cs: Use the parent's DisplayRectangle for laying
237         out docked children.  [Fixes bug #81397]
239 2007-04-04  Jonathan Pobst  <monkey@jpobst.com>
241         * FlowLayout.cs: Call SetBounds with BoundsSpecified.None instead of
242         using Control Size, Location setters.
244 2007-03-24  Jonathan Pobst  <monkey@jpobst.com>
246         * DefaultLayout.cs: Call SetBounds with BoundsSpecified.None instead
247         of using SetImplicitBounds.
248         * TableLayout.cs: Call SetBounds with BoundsSpecified.None instead of
249         modifying Control.Bounds.
251 2007-02-28  Jonathan Pobst  <monkey@jpobst.com>
253         * DefaultLayout.cs: Use ClientRectangle instead of DisplayRectangle
254         to layout children because DisplayRectangle can be overridden.
255         [Fixes bug #80917]
257 2007-02-14  Jonathan Pobst  <monkey@jpobst.com>
259         * FlowLayout.cs: Add support for laying out ToolStrips, which
260         use ToolStripItems instead of Controls.
262 2007-01-29  Jonathan Pobst  <monkey@jpobst.com>
264         * DefaultLayout.cs: MdiClient should always be added last, it should
265         never Dock:Fill under other controls.  [Fixes a part of bug #80223]
267 2007-01-20  Jonathan Pobst  <monkey@jpobst.com>
269         * DefaultLayout.cs: Remove special loop for Dock.Fill and handle
270         it with the other docking code.  [Fixes bug #80227]
272 2007-01-09  Jonathan Pobst  <monkey@jpobst.com>
274         * DefaultLayout.cs: Use PreferredSize for non-Anchor/Dock controls. (2.0)
275         Change a SetBounds to SetImplicitBounds.
277 2007-01-07  Jonathan Pobst  <monkey@jpobst.com>
279         * ArrangedElementCollection.cs: Make list internal.
281 2006-12-28  Chris Toshok  <toshok@ximian.com>
283         * DefaultLayout.cs: split out the various parts (docking,
284         anchoring) into separate methods.  make use of the
285         Control.ControlLayoutType property, as well as
286         Control.VisibleInternal (and fix a couple of unit tests which were
287         broken due to use of Visible here.)
289 2006-12-25  Chris Toshok  <toshok@ximian.com>
291         * DefaultLayout.cs: invert the tests for anchoring to make the
292         code a little more compact.
294 2006-12-25  Chris Toshok  <toshok@ximian.com>
296         * DefaultLayout.cs: remove references to dist_left and dist_top.
297         just use left and top instead.
299 2006-12-23  Chris Toshok  <toshok@ximian.com>
301         * TableLayoutSettingsTypeConverter.cs: new file, a skeleton.
303 2006-12-23  Chris Toshok  <toshok@ximian.com>
305         * DefaultLayout.cs: include this in 1.1, and make use of
306         SetImplicitBounds like the Control.PerformLayout code does.
308 2006-12-06  Chris Toshok  <toshok@ximian.com>
310         * DefaultLayout.cs: make Control.child_controls private.  switch
311         all uses over to Control.Controls.
313 2006-12-04  Chris Toshok  <toshok@ximian.com>
315         * ArrangedElementCollection.cs: fix up corcompare for this file.
316         we need to make all the interface methods explicit, not public,
317         and add internal methods that can be called from the subclasses
318         (we also call them from the explicit implementations.)
320 2006-11-30  Jonathan Pobst <monkey@jpobst.com>
321         * ArrangedElementCollection.cs: Make constructor internal.
322         * FlowLayout.cs: Make work with ToolStrip.
324 2006-10-02  Jonathan Pobst <monkey@jpobst.com>
325         * ArrangedElementCollection.cs: Initial commit.
327 2006-09-15  Jonathan Pobst <monkey@jpobst.com>
328         * DefaultLayout.cs, FlowLayout.cs: Initial commit.