dabo Commit
Revision 5946
Date: 2010-08-02 15:24:08 -0700 (Mon, 02 Aug 2010)
Author: Paul
Trac: http://trac.dabodev.com/changeset/5946
Changed:
U trunk/dabo/ui/uiwx/dGrid.py
Log:
I found that on wxPython 2.8.10.1 on Linux, we need the toggle of
double-buffering
after the user changes the column width. Not sure if this is a Gtk thing or a
wxPython 2.8.10.1 versus 2.8.11.1 thing, but the toggling doesn't hurt.
Diff:
Modified: trunk/dabo/ui/uiwx/dGrid.py
===================================================================
--- trunk/dabo/ui/uiwx/dGrid.py 2010-08-02 22:09:05 UTC (rev 5945)
+++ trunk/dabo/ui/uiwx/dGrid.py 2010-08-02 22:24:08 UTC (rev 5946)
@@ -3326,6 +3326,8 @@
# the user made this change, save to the userSettings:
col.Width = self.GetColSize(colNum)
col._persist("Width")
+ self._disableDoubleBuffering()
+ self._enableDoubleBuffering()
dabo.ui.callAfterInterval(20, self._updateColumnWidths)
_______________________________________________
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]