daboide Commit
Revision 815
Date: 2007-03-20 04:38:35 -0700 (Tue, 20 Mar 2007)
Author: Ed
Trac: http://svn.dabodev.com/trac/daboide/changeset/815
Changed:
U trunk/ClassDesignerSizerPalette.py
Log:
Removed the conflicting maxRows specification. Only one of the maxRows/maxCols
should ever be specified. Also cleaned up the spacing in the parameter lists.
Diff:
Modified: trunk/ClassDesignerSizerPalette.py
===================================================================
--- trunk/ClassDesignerSizerPalette.py 2007-03-20 03:56:17 UTC (rev 814)
+++ trunk/ClassDesignerSizerPalette.py 2007-03-20 11:38:35 UTC (rev 815)
@@ -8,7 +8,7 @@
class ContentBoxSizerPanel(dui.dPanel):
def afterInit(self):
- sz = dui.dGridSizer(vgap=5,hgap=8, maxRows = 0,maxCols=2)
+ sz = dui.dGridSizer(vgap=5, hgap=8, maxCols=2)
lbl = dui.dLabel(self, Caption=_("Border"))
ctl = dui.dSpinner(self, DataField="Sizer_Border", Max=999)
sz.append(lbl, halign="right")
@@ -48,7 +48,7 @@
class ContentGridSizerPanel(dui.dPanel):
def afterInit(self):
- sz = dui.dGridSizer(vgap=5,hgap=8,maxRows = 0, maxCols=2)
+ sz = dui.dGridSizer(vgap=5, hgap=8, maxCols=2)
lbl = dui.dLabel(self, Caption=_("Border"))
ctl = dui.dSpinner(self, DataField="Sizer_Border", Max=999)
sz.append(lbl, halign="right")
@@ -104,7 +104,7 @@
class BoxSizerSelfPanel(dui.dPanel):
def afterInit(self):
- sz = dui.dGridSizer(vgap=5,hgap=8,maxRows = 0, maxCols=2)
+ sz = dui.dGridSizer(vgap=5, hgap=8, maxCols=2)
lbl = dui.dLabel(self, Caption=_("Orientation"))
ctl = dui.dDropdownList(self, DataField="Orientation",
Choices=["Horizontal", "Vertical"])
@@ -143,7 +143,7 @@
class GridSizerSelfPanel(dui.dPanel):
def afterInit(self):
- sz = dui.dGridSizer(vgap=5,hgap=8,maxRows = 0, maxCols=2)
+ sz = dui.dGridSizer(vgap=5, hgap=8, maxCols=2)
lbl = dui.dLabel(self, Caption=_("HGap"))
ctl = dui.dSpinner(self, DataField="HGap")
sz.append(lbl, halign="right")
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev