dabo Commit
Revision 6506
Date: 2011-03-21 17:26:35 -0700 (Mon, 21 Mar 2011)
Author: Ed
Trac: http://trac.dabodev.com/changeset/6506
Changed:
U trunk/dabo/ui/uiwx/dGrid.py
Log:
Changed the grid header to display as white, and the default grid column
background color to grey.
Diff:
Modified: trunk/dabo/ui/uiwx/dGrid.py
===================================================================
--- trunk/dabo/ui/uiwx/dGrid.py 2011-03-20 16:05:06 UTC (rev 6505)
+++ trunk/dabo/ui/uiwx/dGrid.py 2011-03-22 00:26:35 UTC (rev 6506)
@@ -1815,20 +1815,14 @@
self._headerVerticalAlignment = "Center"
self._headerHorizontalAlignment = "Center"
self._headerForeColor = None
- self._headerBackColor = None
- # What color/size should the little sort indicator arrow be?
- self._sortIndicatorColor = "yellow"
- self._sortIndicatorSize = 8
-
- #Declare Internal Header Attributes
- self._headerVerticalAlignment = "Center"
- self._headerHorizontalAlignment = "Center"
- self._headerForeColor = None
- self._headerBackColor = None
+ self._headerBackColor = (232, 232, 232)
self._verticalHeaders = False
self._autoAdjustHeaderHeight = False
self._headerMaxTextHeight = 0
self._columnMetrics = [(0, 0)]
+ # What color/size should the little sort indicator arrow be?
+ self._sortIndicatorColor = "yellow"
+ self._sortIndicatorSize = 8
#Set NoneDisplay attributes
if self.Application:
@@ -2547,6 +2541,7 @@
return
self._inHeaderPaint = True
w = self._getWxHeader()
+ w.SetBackgroundColour((255, 255, 255))
if updateBox is None:
updateBox = w.GetClientRect()
try:
_______________________________________________
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]