dabo Commit
Revision 4468
Date: 2008-08-27 12:50:43 -0700 (Wed, 27 Aug 2008)
Author: Paul
Trac: http://svn.dabodev.com/trac/dabo/changeset/4468
Changed:
U trunk/dabo/ui/uiwx/dGrid.py
Log:
This version of dGrid works slightly better on Mac. There are still display
artifacts, but
at least the overlapping doesn't occur.
Diff:
Modified: trunk/dabo/ui/uiwx/dGrid.py
===================================================================
--- trunk/dabo/ui/uiwx/dGrid.py 2008-08-27 18:35:02 UTC (rev 4467)
+++ trunk/dabo/ui/uiwx/dGrid.py 2008-08-27 19:50:43 UTC (rev 4468)
@@ -108,7 +108,9 @@
# Linux performs horribly with the callAfter(); Mac
doesn't draw
# correctly without it!
if sys.platform[:6] == "darwin":
- dabo.ui.callAfter(self.grid._paintHeader,
colObj)
+ #self.grid._paintHeader(colObj) ##
Doesn't paint all columns; misplaces the horizontal location.
+ #dabo.ui.callAfter(self.grid._paintHeader) ##
Draws same headers multiple times, overlapping a little.
+ dabo.ui.callAfterInterval(1,
self.grid._paintHeader, colObj) ## Still leaves artifacts around the grid, but
the best I can do right now.
else:
self.grid._paintHeader(colObj)
return ""
_______________________________________________
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]