SetSizeHints fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-08-24 23:57:01 +00:00
parent 5cd66f076f
commit 3207002131
2 changed files with 3 additions and 2 deletions

View File

@@ -468,10 +468,10 @@ class ColourInfoPanel(wx.Panel):
sb = wx.StaticBox(self, -1, label)
self._fgtxt = wx.TextCtrl(self, -1, "", style=wx.TE_READONLY)
self._fgclr = wx.Panel(self, style=wx.SIMPLE_BORDER)
self._fgclr.SetSizeHints((20,20))
self._fgclr.SetMinSize((20,20))
self._bgtxt = wx.TextCtrl(self, -1, "", style=wx.TE_READONLY)
self._bgclr = wx.Panel(self, style=wx.SIMPLE_BORDER)
self._bgclr.SetSizeHints((20,20))
self._bgclr.SetMinSize((20,20))
# setup the layout
fgs = wx.FlexGridSizer(2, 3, 5, 5)