dabo Commit
Revision 6796
Date: 2011-08-22 04:09:52 -0700 (Mon, 22 Aug 2011)
Author: Jacekk
Trac: http://trac.dabodev.com/changeset/6796
Changed:
U trunk/dabo/ui/uiwx/dPageFrameNoTabs.py
Log:
Fix contained controls artifacts issue on resize.
Diff:
Modified: trunk/dabo/ui/uiwx/dPageFrameNoTabs.py
===================================================================
--- trunk/dabo/ui/uiwx/dPageFrameNoTabs.py 2011-08-20 17:37:03 UTC (rev
6795)
+++ trunk/dabo/ui/uiwx/dPageFrameNoTabs.py 2011-08-22 11:09:52 UTC (rev
6796)
@@ -97,6 +97,17 @@
return ret
+ def layout(self):
+ """Wrap the wx version of the call, if possible."""
+ for pg in self.Pages:
+ try:
+ pg.layout()
+ except AttributeError:
+ # could be that the page is a single control,
not a container
+ pass
+ super(dPageFrameNoTabs, self).layout()
+
+
def showPage(self, pg):
ap = self._activePage
if isinstance(pg, int):
_______________________________________________
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]