2008-07-24 Ivan N. Zlatev <contact@i-nz.net>
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms.Layout / ChangeLog
1 2008-07-07  Ivan N. Zlatev  <contact@i-nz.net>
2
3         * TableLayout.cs: Controls bounds should be taken into account regardless
4         of their Dock and Anchor states.
5         [Fixes bug #402651]
6
7 2008-06-10  Jonathan Pobst  <monkey@jpobst.com>
8
9         * TableLayoutSettingsTypeConverter.cs: Patch from Andy Hume to
10         use InvariantCulture.
11
12 2008-06-10  Jonathan Pobst  <monkey@jpobst.com>
13
14         * DefaultLayout.cs, TableLayout.cs, FlowLayout.cs: Use SetBoundsInternal
15         instead of SetBoundsCoreInternal.
16
17 2008-06-09  Jonathan Pobst  <monkey@jpobst.com>
18
19         * DefaultLayout.cs, TableLayout.cs, FlowLayout.cs: Use SetBoundsCoreInternal
20         instead of SetBounds.
21
22 2008-06-09  Jonathan Pobst  <monkey@jpobst.com>
23
24         * TableLayoutSettingsTypeConverter.cs: Fix spelling of Columns.
25         Accomadate .Net's use of culture separator.  [Fixes bug #398274]
26
27 2008-06-03  Jonathan Pobst  <monkey@jpobst.com>
28
29         * DefaultLayout.cs: It appears that TableLayoutPanels are immune to
30         AutoSizeMode and always ShrinkAndGrow.  [Fixes bug #396433]
31
32 2008-06-02  Jonathan Pobst  <monkey@jpobst.com>
33
34         * TableLayout.cs: Fix a c&p error so we correctly calculate row
35         border heights.  [Fixes part of bug #396433]
36
37 2008-03-05  Jonathan Pobst  <monkey@jpobst.com>
38
39         ArrangedElementCollection.cs: corcompare - fix parameter names.
40
41 2008-03-05  Jonathan Pobst  <monkey@jpobst.com>
42
43         * TableLayout.cs: Guard against an exception when a control's colspan
44         or rowspan is greater than the number of columns or rows.
45         [Fixes bug #367249]
46
47 2008-02-19  Jonathan Pobst  <monkey@jpobst.com>
48
49         * FlowLayout.cs: Take padding into account when determining if there
50         is still room left on a row.  [Fixes bug #361448]
51
52 2008-01-23  Jonathan Pobst  <monkey@jpobst.com>
53
54         * TableLayout.cs: Don't include Dock.Fill, multicolumn/multirow spanned
55         controls when calculating column/row sizes.
56         [Fixes bug #355408]
57
58 2008-01-22  Jonathan Pobst  <monkey@jpobst.com>
59
60         * DefaultLayout.cs: Remove using the padding.  This is now included
61         properly in the DisplayRectangle.  Fixes a broken test.
62
63 2008-01-22  Jonathan Pobst  <monkey@jpobst.com>
64
65         * TableLayout.cs: When we reset our current_pos back to the left
66         beginning, make sure we take padding into account.
67         [Fixes bug #354676]
68
69 2007-12-13  Jonathan Pobst  <monkey@jpobst.com>
70
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.
74         [Fixes bug #346246]
75
76 2007-10-16  Jonathan Pobst  <monkey@jpobst.com>
77
78         * TableLayout.cs: Revert the last change to TableLayout.  It breaks
79         other, more important things.
80
81 2007-10-15  Jonathan Pobst  <monkey@jpobst.com>
82
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]
86
87 2007-10-11  Jonathan Pobst  <monkey@jpobst.com>
88
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.
93         [Fixes bug #332892]
94
95 2007-09-17  Jonathan Pobst  <monkey@jpobst.com>
96
97         * DefaultLayout.cs: Fix copy/paste error for dist_right.  Fixes
98         reopened bug #325429.
99
100 2007-09-13  Jonathan Pobst  <monkey@jpobst.com>
101
102         * TableLayout.cs: Use control's PreferredSize when figuring up the
103         size of an AutoSize row/column.
104
105 2007-09-12  Jonathan Pobst  <monkey@jpobst.com>
106
107         * DefaultLayout.cs: Apply AutoSize logic to the variable dimension 
108         of Docked controls.
109
110 2007-09-11  Jonathan Pobst  <monkey@jpobst.com>
111
112         * DefaultLayout.cs: When working with Anchor = none, and we move a
113         control, we need to update its dist_right/dist_bottom.
114         [Fixes bug #82762]
115
116 2007-09-06  Jonathan Pobst  <monkey@jpobst.com>
117
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]
122
123 2007-07-31  Jonathan Pobst  <monkey@jpobst.com>
124
125         * ArrangedElementCollection.cs: Rename internal method RemoveAt
126         so that subclasses can have a public version of it without hiding.
127
128 2007-07-23  Rolf Bjarne Kvinge <RKvinge@novell.com> 
129
130         * ArrangedElementCollection.cs: Implement NotSupported behaviour
131           confirmed by tests.
132
133 2007-07-07  Jonathan Pobst  <monkey@jpobst.com>
134
135         * TableLayout.cs: Parenthesis out of place when centering control
136         in a table cell.  [Fixes bug #81936]
137
138 2007-06-21  Jonathan Pobst  <monkey@jpobst.com>
139
140         * TableLayout.cs: Take CellBorderStyle into account when laying
141         stuff out.  [Fixes bug #81884]
142
143 2007-06-12  Jonathan Pobst  <monkey@jpobst.com>
144
145         * TableLayout.cs: When we come across a Dock=Fill control, use the
146         ExplicitSize to calculate an AutoSize row/column from.
147         [Fixes bug #81843]
148
149 2007-06-07  Jonathan Pobst  <monkey@jpobst.com>
150
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.
154
155 2007-05-23  Jonathan Pobst  <monkey@jpobst.com>
156
157         * DefaultLayout.cs: Take parent's padding into account when docking
158         children.
159
160 2007-05-07  Jonathan Pobst  <monkey@jpobst.com>
161         Applying contributed patch from Stefan Noack.
162
163         * DefaultLayout.cs: Implement AutoSize logic.   
164
165 2007-04-24  Andreia Gaita  <avidigal@novell.com>
166
167         * TableLayoutSettingsTypeConverter.cs: Implemented the converters
168         for TableLayoutSettings.
169
170 2007-04-22  Jonathan Pobst  <monkey@jpobst.com>
171
172         * DefaultLayout.cs: Use the parent's DisplayRectangle for laying
173         out docked children.  [Fixes bug #81397]
174
175 2007-04-04  Jonathan Pobst  <monkey@jpobst.com>
176
177         * FlowLayout.cs: Call SetBounds with BoundsSpecified.None instead of
178         using Control Size, Location setters.
179
180 2007-03-24  Jonathan Pobst  <monkey@jpobst.com>
181
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.
186
187 2007-02-28  Jonathan Pobst  <monkey@jpobst.com>
188
189         * DefaultLayout.cs: Use ClientRectangle instead of DisplayRectangle
190         to layout children because DisplayRectangle can be overridden.
191         [Fixes bug #80917]
192
193 2007-02-14  Jonathan Pobst  <monkey@jpobst.com>
194
195         * FlowLayout.cs: Add support for laying out ToolStrips, which
196         use ToolStripItems instead of Controls.
197
198 2007-01-29  Jonathan Pobst  <monkey@jpobst.com>
199
200         * DefaultLayout.cs: MdiClient should always be added last, it should
201         never Dock:Fill under other controls.  [Fixes a part of bug #80223]
202
203 2007-01-20  Jonathan Pobst  <monkey@jpobst.com>
204
205         * DefaultLayout.cs: Remove special loop for Dock.Fill and handle
206         it with the other docking code.  [Fixes bug #80227]
207
208 2007-01-09  Jonathan Pobst  <monkey@jpobst.com>
209
210         * DefaultLayout.cs: Use PreferredSize for non-Anchor/Dock controls. (2.0)
211         Change a SetBounds to SetImplicitBounds.
212
213 2007-01-07  Jonathan Pobst  <monkey@jpobst.com>
214
215         * ArrangedElementCollection.cs: Make list internal.
216
217 2006-12-28  Chris Toshok  <toshok@ximian.com>
218
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.)
224
225 2006-12-25  Chris Toshok  <toshok@ximian.com>
226
227         * DefaultLayout.cs: invert the tests for anchoring to make the
228         code a little more compact.
229
230 2006-12-25  Chris Toshok  <toshok@ximian.com>
231
232         * DefaultLayout.cs: remove references to dist_left and dist_top.
233         just use left and top instead.
234
235 2006-12-23  Chris Toshok  <toshok@ximian.com>
236
237         * TableLayoutSettingsTypeConverter.cs: new file, a skeleton.
238
239 2006-12-23  Chris Toshok  <toshok@ximian.com>
240
241         * DefaultLayout.cs: include this in 1.1, and make use of
242         SetImplicitBounds like the Control.PerformLayout code does.
243
244 2006-12-06  Chris Toshok  <toshok@ximian.com>
245
246         * DefaultLayout.cs: make Control.child_controls private.  switch
247         all uses over to Control.Controls.
248
249 2006-12-04  Chris Toshok  <toshok@ximian.com>
250
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.)
255
256 2006-11-30  Jonathan Pobst <monkey@jpobst.com>
257         * ArrangedElementCollection.cs: Make constructor internal.
258         * FlowLayout.cs: Make work with ToolStrip.
259
260 2006-10-02  Jonathan Pobst <monkey@jpobst.com>
261         * ArrangedElementCollection.cs: Initial commit.
262
263 2006-09-15  Jonathan Pobst <monkey@jpobst.com>
264         * DefaultLayout.cs, FlowLayout.cs: Initial commit.