[Commits] (jed) Fixed bug that caused sidebar to always have a
scrollbar even if it didn't need it.
commits at osafoundation.org
commits at osafoundation.org
Tue Aug 10 11:57:54 PDT 2004
Commit by: jed
Modified files:
chandler/parcels/osaf/framework/blocks/ControlBlocks.py 1.96 1.97
Log message:
Fixed bug that caused sidebar to always have a scrollbar even if it didn't need it.
ViewCVS links:
http://cvs.osafoundation.org/index.cgi/chandler/parcels/osaf/framework/blocks/ControlBlocks.py.diff?r1=text&tr1=1.96&r2=text&tr2=1.97
Index: chandler/parcels/osaf/framework/blocks/ControlBlocks.py
diff -u chandler/parcels/osaf/framework/blocks/ControlBlocks.py:1.96 chandler/parcels/osaf/framework/blocks/ControlBlocks.py:1.97
--- chandler/parcels/osaf/framework/blocks/ControlBlocks.py:1.96 Mon Aug 9 17:52:25 2004
+++ chandler/parcels/osaf/framework/blocks/ControlBlocks.py Tue Aug 10 11:57:53 2004
@@ -1,5 +1,5 @@
-__version__ = "$Revision: 1.96 $"
-__date__ = "$Date: 2004/08/10 00:52:25 $"
+__version__ = "$Revision: 1.97 $"
+__date__ = "$Date: 2004/08/10 18:57:53 $"
__copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
@@ -387,6 +387,8 @@
self.SetRowLabelSize(0)
self.AutoSizeRows()
self.EnableGridLines(False)
+ self.SetMargins(0-wx.SystemSettings_GetMetric(wx.SYS_VSCROLL_X),
+ 0-wx.SystemSettings_GetMetric(wx.SYS_HSCROLL_Y))
self.SetCellHighlightPenWidth(0)
self.SetDefaultRenderer (ImageRenderer())
More information about the Commits
mailing list