Changeset 4176
- Timestamp:
- 06/24/08 08:13:31 (2 months ago)
- Files:
-
- trunk/ide/ClassDesigner.py (modified) (1 diff)
- trunk/ide/ClassDesignerFormMixin.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/ide/ClassDesigner.py
r4145 r4176 3340 3340 hsz = dui.dSizer("h") 3341 3341 lbl = dui.dLabel(self, Caption=_("Number of Slots:")) 3342 txt = dui.dSpinner(self, RegID="slotcount", Value=defaultSlotCount )3342 txt = dui.dSpinner(self, RegID="slotcount", Value=defaultSlotCount, Min=1) 3343 3343 hsz.append(lbl, halign="right") 3344 3344 hsz.appendSpacer(4) trunk/ide/ClassDesignerFormMixin.py
r4157 r4176 1473 1473 ret["AutoSize"] = {"type" : bool, "readonly" : False} 1474 1474 ret["Centered"] = {"type" : bool, "readonly" : False} 1475 ret["ReleaseOnEscape"] = {"type" : bool, "readonly" : False} 1475 if isinstance(self, dabo.ui.dStandardButtonDialog): 1476 ret["CancelOnEscape"] = {"type" : bool, "readonly" : False} 1476 1477 return ret 1477 1478
