daboide Commit
Revision 711
Date: 2006-12-16 14:03:16 -0800 (Sat, 16 Dec 2006)
Author: Ed

Changed:
U   trunk/wizards/AppWizard/AppWizard.py

Log:
Apparently captions don't wrap nicely for checkboxes under Windows. This 
removes the need for a wrapped caption.

Diff:
Modified: trunk/wizards/AppWizard/AppWizard.py
===================================================================
--- trunk/wizards/AppWizard/AppWizard.py        2006-12-16 19:29:14 UTC (rev 
710)
+++ trunk/wizards/AppWizard/AppWizard.py        2006-12-16 22:03:16 UTC (rev 
711)
@@ -634,7 +634,7 @@
                hs.append(self.cmdPick, 0)
                self.Sizer.append1x(hs)
 
-               self.chkPKUI = dabo.ui.dCheckBox(self, Caption=_("UI for PKs"))
+               self.chkPKUI = dabo.ui.dCheckBox(self, Caption=_("Include PK 
fields in the UI"))
                self.Sizer.append(self.chkPKUI)
 
                self.chkSortFieldsAlpha = dabo.ui.dCheckBox(self, 
Caption=_("Sort Fields Alphabetically"))
@@ -652,9 +652,14 @@
                        else:
                                self.Form._convertTabs = False
 
-               chkConvertTabs = self.addObject(dabo.ui.dCheckBox, 
-                               Caption=_("Tabs are the default for 
indentation.\nCheck this if you insist on using spaces."),
-                               RegID="chkConvertTabs")
+               self.Sizer.appendSpacer(2)
+               ln = dabo.ui.dLine(self, Width=200)
+               self.Sizer.append(ln, halign="left")
+               lbl = dabo.ui.dLabel(self, Caption=_("Tabs are the default for 
indentation."))
+               lbl.FontSize -= 1
+               self.Sizer.append(lbl)
+               chkConvertTabs = dabo.ui.dCheckBox(self, 
RegID="chkConvertTabs", 
+                               Caption=_("Check this if you insist on using 
spaces."))
                chkConvertTabs.FontSize -= 1
                chkConvertTabs.bindEvent(dabo.dEvents.Hit, _onConvertTabs)
                self.Sizer.append(chkConvertTabs, valign="bottom")




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev

Reply via email to