daboide Commit
Revision 814
Date: 2007-03-19 20:56:17 -0700 (Mon, 19 Mar 2007)
Author: Johnf
Trac: http://svn.dabodev.com/trac/daboide/changeset/814
Changed:
U trunk/ClassDesignerSizerPalette.py
Log:
changed the "maxCol" to "maxCols" and re-arranged the order of the parameters
to match the dGridSizer parameters
Should fix Uwe reported error
Diff:
Modified: trunk/ClassDesignerSizerPalette.py
===================================================================
--- trunk/ClassDesignerSizerPalette.py 2007-03-17 19:34:34 UTC (rev 813)
+++ trunk/ClassDesignerSizerPalette.py 2007-03-20 03:56:17 UTC (rev 814)
@@ -8,7 +8,7 @@
class ContentBoxSizerPanel(dui.dPanel):
def afterInit(self):
- sz = dui.dGridSizer(maxCol=2, hgap=8, vgap=5)
+ sz = dui.dGridSizer(vgap=5,hgap=8, maxRows = 0,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(maxCol=2, hgap=8, vgap=5)
+ sz = dui.dGridSizer(vgap=5,hgap=8,maxRows = 0, 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(maxCol=2, hgap=8, vgap=5)
+ sz = dui.dGridSizer(vgap=5,hgap=8,maxRows = 0, 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(maxCol=2, hgap=8, vgap=5)
+ sz = dui.dGridSizer(vgap=5,hgap=8,maxRows = 0, 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