dabo Commit
Revision 6612
Date: 2011-06-04 07:06:43 -0700 (Sat, 04 Jun 2011)
Author: Ed
Trac: http://trac.dabodev.com/changeset/6612
Changed:
U trunk/ide/ClassDesignerSizerPalette.py
Log:
Changes the layout when editing sizers so that the two panels are horizontally
arranged. Previously, the vertical arrangement was too tall for some screen
resolutions. Thought I had committed this a while ago.
Diff:
Modified: trunk/ide/ClassDesignerSizerPalette.py
===================================================================
--- trunk/ide/ClassDesignerSizerPalette.py 2011-05-28 15:00:02 UTC (rev
6611)
+++ trunk/ide/ClassDesignerSizerPalette.py 2011-06-04 14:06:43 UTC (rev
6612)
@@ -285,7 +285,7 @@
self.Sizer = dui.dSizer("V")
self.mainPanel = mp = dui.dPanel(self)
self.Sizer.append1x(mp)
- mp.Sizer = sz = dui.dSizer("V")
+ mp.Sizer = sz = dui.dSizer("H")
scpnl = SizerContentPanel(mp)
self.contentFrame = scpnl.pgf
sspnl = SizerSelfPanel(mp)
@@ -307,6 +307,7 @@
self.contentFrame.setFromObject(obj)
self.sizerFrame.setFromObject(obj)
self.layout()
+ dabo.ui.callAfter(self.fitToSizer, extraHeight=10)
self.update()
def layout(self):
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]