dabo Commit
Revision 6343
Date: 2011-01-25 01:51:12 -0800 (Tue, 25 Jan 2011)
Author: Jacekk
Trac: http://trac.dabodev.com/changeset/6343

Changed:
U   trunk/dabo/ui/uiwx/dPemMixin.py

Log:
Added DrawObject.draw() positioning condition for dGrid control
to fix header captions display out of the visible area issue.

Diff:
Modified: trunk/dabo/ui/uiwx/dPemMixin.py
===================================================================
--- trunk/dabo/ui/uiwx/dPemMixin.py     2011-01-24 18:38:44 UTC (rev 6342)
+++ trunk/dabo/ui/uiwx/dPemMixin.py     2011-01-25 09:51:12 UTC (rev 6343)
@@ -3002,7 +3002,8 @@
                        self._modeSettings(dc)
 
                srcObj = self.Parent
-               if self.Application.Platform == "GTK" and not 
(isinstance(srcObj, (dabo.ui.dPanel, dabo.ui.dPage))):
+               if self.Application.Platform == "GTK" and \
+                               not (isinstance(srcObj, (dabo.ui.dPanel, 
dabo.ui.dPage, dabo.ui.dGrid))):
                        if isinstance(srcObj, dabo.ui.dForm):
                                x, y = srcObj.containerCoordinates(srcObj, 
(self.Xpos, self.Ypos))
                        else:



_______________________________________________
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]

Reply via email to