dabo Commit
Revision 4636
Date: 2008-11-02 15:38:58 -0800 (Sun, 02 Nov 2008)
Author: Ed
Trac: http://svn.dabodev.com/trac/dabo/changeset/4636
Changed:
U trunk/dabo/ui/uiwx/dPanel.py
Log:
This seems to fix a lot of the resizing issues I've had with scrolled panels.
Only test in OS X, so please try it out with your apps and let me know if it
causes any issues.
Diff:
Modified: trunk/dabo/ui/uiwx/dPanel.py
===================================================================
--- trunk/dabo/ui/uiwx/dPanel.py 2008-11-02 20:27:05 UTC (rev 4635)
+++ trunk/dabo/ui/uiwx/dPanel.py 2008-11-02 23:38:58 UTC (rev 4636)
@@ -213,10 +213,10 @@
self._horizontalScroll = self._verticalScroll = True
self._baseClass = dScrollPanel
preClass = wx.PreScrolledWindow
+ kwargs["AlwaysResetSizer"] = self._extractKey((properties,
kwargs, attProperties), "AlwaysResetSizer", True)
_PanelMixin.__init__(self, preClass=preClass, parent=parent,
properties=properties,
attProperties=attProperties, *args, **kwargs)
self.SetScrollRate(10, 10)
-# self.SetScrollbars(10, 10, -1, -1)
def scrollHorizontally(self, amt):
_______________________________________________
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]