From: Digital X. <dig...@us...> - 2007-02-21 16:01:07
|
Update of /cvsroot/openrpg/openrpg1/orpg/gametree/nodehandlers In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv14634/orpg/gametree/nodehandlers Modified Files: containers.py core.py forms.py Log Message: Fix some GUI issues with Tabs Index: forms.py =================================================================== RCS file: /cvsroot/openrpg/openrpg1/orpg/gametree/nodehandlers/forms.py,v retrieving revision 1.50 retrieving revision 1.51 diff -C2 -d -r1.50 -r1.51 *** forms.py 15 Nov 2006 12:11:24 -0000 1.50 --- forms.py 21 Feb 2007 16:00:27 -0000 1.51 *************** *** 637,641 **** opts = handler.get_options() ! self.listbox = wx.ListBox(self,F_LIST,choices=opts) opts = ['Drop Down', 'List Box', 'Radio Box', 'Check List'] self.type_radios = wx.RadioBox(self,F_TYPE,"List Type",choices=opts) --- 637,641 ---- opts = handler.get_options() ! self.listbox = wx.ListBox(self, F_LIST, choices=opts, style=wx.LB_HSCROLL|wx.LB_SINGLE|wx.LB_NEEDED_SB) opts = ['Drop Down', 'List Box', 'Radio Box', 'Check List'] self.type_radios = wx.RadioBox(self,F_TYPE,"List Type",choices=opts) Index: containers.py =================================================================== RCS file: /cvsroot/openrpg/openrpg1/orpg/gametree/nodehandlers/containers.py,v retrieving revision 1.40 retrieving revision 1.41 diff -C2 -d -r1.40 -r1.41 *** containers.py 14 Nov 2006 11:04:37 -0000 1.40 --- containers.py 21 Feb 2007 16:00:27 -0000 1.41 *************** *** 227,231 **** class tabbed_panel(orpgTabberWnd): def __init__(self, parent, handler, mode): ! orpgTabberWnd.__init__(self, parent, handler.openrpg) self.handler = handler self.parent = parent --- 227,231 ---- class tabbed_panel(orpgTabberWnd): def __init__(self, parent, handler, mode): ! orpgTabberWnd.__init__(self, parent, handler.openrpg, style=FNB.FNB_NO_X_BUTTON) self.handler = handler self.parent = parent Index: core.py =================================================================== RCS file: /cvsroot/openrpg/openrpg1/orpg/gametree/nodehandlers/core.py,v retrieving revision 1.43 retrieving revision 1.44 diff -C2 -d -r1.43 -r1.44 *** core.py 3 Feb 2007 14:32:47 -0000 1.43 --- core.py 21 Feb 2007 16:00:27 -0000 1.44 *************** *** 147,152 **** y = 200 ! self.myeditor.SetSizeHints(x, y, -1, -1) ! self.myeditor.Fit() self.myeditor.Thaw() --- 147,152 ---- y = 200 ! self.myeditor.SetSize((x, y)) ! self.myeditor.Layout() self.myeditor.Thaw() *************** *** 193,198 **** y = 200 ! self.mywindow.SetSizeHints(x, y, -1, -1) ! self.mywindow.Fit() self.mywindow.Thaw() --- 193,198 ---- y = 200 ! self.mywindow.SetSize((x, y)) ! self.mywindow.Layout() self.mywindow.Thaw() |