]> git.saurik.com Git - wxWidgets.git/commitdiff
Use FIXED_MINSIZE on the listbox
authorRobin Dunn <robin@alldunn.com>
Wed, 7 Apr 2004 23:24:47 +0000 (23:24 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 7 Apr 2004 23:24:47 +0000 (23:24 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/demo/MimeTypesManager.py

index 94922d5c3b20e208dda683d62e54b8e99153a0bf..2a434717d0e72665af946e9fbd5ab79c5bf16156 100644 (file)
@@ -176,7 +176,7 @@ class MimeTypesDemoPanel(wx.Panel):
         lrsizer.Add(t, 0, wx.ALL | wx.EXPAND | wx.ALIGN_CENTER, 4)
 
         self.mimelist = wx.ListBox(self, -1, choices=[], style = wx.LB_SINGLE | wx.LB_SORT)
-        lrsizer.Add(self.mimelist, 1, wx.ALL | wx.EXPAND | wx.ALIGN_CENTER, 4)
+        lrsizer.Add(self.mimelist, 1, wx.ALL | wx.EXPAND | wx.ALIGN_CENTER | wx.FIXED_SIZE, 4)
         self.Bind(wx.EVT_LISTBOX, self.OnListbox, self.mimelist)
 
         #----------------------------------------------------------------------------