Author: reinhard Date: 2009-12-07 14:32:26 -0600 (Mon, 07 Dec 2009) New Revision: 10099
Modified: trunk/gnue-forms/src/uidrivers/wx/widgets/grid.py Log: No border between scrollbar and grid. Modified: trunk/gnue-forms/src/uidrivers/wx/widgets/grid.py =================================================================== --- trunk/gnue-forms/src/uidrivers/wx/widgets/grid.py 2009-12-07 11:12:25 UTC (rev 10098) +++ trunk/gnue-forms/src/uidrivers/wx/widgets/grid.py 2009-12-07 20:32:26 UTC (rev 10099) @@ -102,12 +102,12 @@ # The actual grid. self._container = wx.Panel(self.widget, -1) self._container.SetSizer(wx.GridBagSizer()) - inner.Add(self._container, 1, wx.EXPAND | wx.LEFT | wx.RIGHT | wx.TOP, 3) + inner.Add(self._container, 1, wx.EXPAND | wx.LEFT | wx.TOP, 3) # The scroll bar. self.scroll = wx.ScrollBar(self.widget, -1, style=wx.SB_VERTICAL) self.scroll.Bind(wx.EVT_SCROLL, self.__on_scroll) - inner.Add(self.scroll, 0, wx.EXPAND | wx.TOP, 3) + inner.Add(self.scroll, 0, wx.EXPAND | wx.RIGHT | wx.TOP, 3) # The small 3 pixel panel that doubles as the lower border. We have to # reset the min size to 0 later (in update_size_hints) *after* the form _______________________________________________ commit-gnue mailing list commit-gnue@gnu.org http://lists.gnu.org/mailman/listinfo/commit-gnue