Index: Mattricks/ArenaPage.py =================================================================== RCS file: /cvsroot/mattricks/Mattricks/Mattricks/ArenaPage.py,v retrieving revision 1.4 diff -u -r1.4 ArenaPage.py --- Mattricks/ArenaPage.py 8 Sep 2004 07:14:57 -0000 1.4 +++ Mattricks/ArenaPage.py 11 Sep 2004 21:36:04 -0000 @@ -61,20 +61,19 @@ def _init_ctrls(self, prnt): # generated method, don't edit wxPanel.__init__(self, id=wxID_ARENAPAGE, name='ArenaPage', parent=prnt, - pos=wxPoint(313, 222), size=wxSize(856, 659), + pos=wxPoint(37, 34), size=wxSize(705, 462), style=wxTAB_TRAVERSAL) self._init_utils() - self.SetClientSize(wxSize(856, 659)) - self.SetAutoLayout(True) + self.SetClientSize(wxSize(705, 462)) self.current_arena_panel = wxPanel(id=wxID_ARENAPAGECURRENT_ARENA_PANEL, - name='current_arena_panel', parent=self, pos=wxPoint(16, 64), + name='current_arena_panel', parent=self, pos=wxPoint(16, 8), size=wxSize(328, 168), style=wxTAB_TRAVERSAL) self.staticText6 = wxStaticText(id=wxID_ARENAPAGESTATICTEXT6, label=_("Terraces") + ':', name='staticText6', parent=self.current_arena_panel, pos=wxPoint(24, 32), - size=wxSize(76, 18), style=0) + size=wxSize(65, 15), style=0) self.staticText6.SetConstraints(LayoutAnchors(self.staticText6, True, True, False, False)) self.staticText6.SetFont(wxFont(10, wxSWISS, wxNORMAL, wxBOLD, False, @@ -87,7 +86,7 @@ self.staticText2 = wxStaticText(id=wxID_ARENAPAGESTATICTEXT2, label=_('Basic seating') + ':', name='staticText2', parent=self.current_arena_panel, pos=wxPoint(24, 56), - size=wxSize(114, 18), style=0) + size=wxSize(100, 15), style=0) self.staticText2.SetConstraints(LayoutAnchors(self.staticText2, True, True, False, False)) self.staticText2.SetFont(wxFont(10, wxSWISS, wxNORMAL, wxBOLD, False, @@ -96,7 +95,7 @@ self.staticText3 = wxStaticText(id=wxID_ARENAPAGESTATICTEXT3, label=_('Roofed seating') + ':', name='staticText3', parent=self.current_arena_panel, pos=wxPoint(24, 80), - size=wxSize(129, 18), style=0) + size=wxSize(113, 15), style=0) self.staticText3.SetConstraints(LayoutAnchors(self.staticText3, True, True, False, False)) self.staticText3.SetFont(wxFont(10, wxSWISS, wxNORMAL, wxBOLD, False, @@ -105,7 +104,7 @@ self.staticText4 = wxStaticText(id=wxID_ARENAPAGESTATICTEXT4, label=_('Seating in VIP boxes') + ':', name='staticText4', parent=self.current_arena_panel, pos=wxPoint(24, 104), - size=wxSize(176, 18), style=0) + size=wxSize(149, 15), style=0) self.staticText4.SetConstraints(LayoutAnchors(self.staticText4, True, True, False, False)) self.staticText4.SetFont(wxFont(10, wxSWISS, wxNORMAL, wxBOLD, False, @@ -130,7 +129,7 @@ self.staticText5 = wxStaticText(id=wxID_ARENAPAGESTATICTEXT5, label=_('Total capacity') +':', name='staticText5', parent=self.current_arena_panel, pos=wxPoint(24, 128), - size=wxSize(119, 18), style=0) + size=wxSize(102, 15), style=0) self.staticText5.SetConstraints(LayoutAnchors(self.staticText5, True, True, False, False)) self.staticText5.SetFont(wxFont(10, wxSWISS, wxNORMAL, wxBOLD, False, @@ -142,7 +141,7 @@ size=wxSize(320, 160), style=0) self.preferences_panel = wxPanel(id=wxID_ARENAPAGEPREFERENCES_PANEL, - name='preferences_panel', parent=self, pos=wxPoint(16, 264), + name='preferences_panel', parent=self, pos=wxPoint(16, 184), size=wxSize(328, 304), style=wxTAB_TRAVERSAL) self.staticBox2 = wxStaticBox(id=wxID_ARENAPAGESTATICBOX2, @@ -213,13 +212,13 @@ size=wxSize(304, 136), style=0) self.new_arena_panel = wxPanel(id=wxID_ARENAPAGENEW_ARENA_PANEL, - name='new_arena_panel', parent=self, pos=wxPoint(368, 64), + name='new_arena_panel', parent=self, pos=wxPoint(368, 8), size=wxSize(328, 168), style=wxTAB_TRAVERSAL) self.staticText1 = wxStaticText(id=wxID_ARENAPAGESTATICTEXT1, label=_('Terraces') +':', name='staticText1', - parent=self.new_arena_panel, pos=wxPoint(24, 32), size=wxSize(76, - 18), style=0) + parent=self.new_arena_panel, pos=wxPoint(24, 32), size=wxSize(65, + 15), style=0) self.staticText1.SetConstraints(LayoutAnchors(self.staticText1, True, True, False, False)) self.staticText1.SetFont(wxFont(10, wxSWISS, wxNORMAL, wxBOLD, False, @@ -228,7 +227,7 @@ self.staticText7 = wxStaticText(id=wxID_ARENAPAGESTATICTEXT7, label=_('Seating in VIP boxes') + ':', name='staticText7', parent=self.new_arena_panel, pos=wxPoint(24, 104), - size=wxSize(176, 18), style=0) + size=wxSize(149, 15), style=0) self.staticText7.SetConstraints(LayoutAnchors(self.staticText7, True, True, False, False)) self.staticText7.SetFont(wxFont(10, wxSWISS, wxNORMAL, wxBOLD, False, @@ -237,7 +236,7 @@ self.staticText8 = wxStaticText(id=wxID_ARENAPAGESTATICTEXT8, label=_('Total capacity') + ':', name='staticText8', parent=self.new_arena_panel, pos=wxPoint(24, 128), - size=wxSize(119, 18), style=0) + size=wxSize(102, 15), style=0) self.staticText8.SetConstraints(LayoutAnchors(self.staticText8, True, True, False, False)) self.staticText8.SetFont(wxFont(10, wxSWISS, wxNORMAL, wxBOLD, False, @@ -245,8 +244,8 @@ self.staticText9 = wxStaticText(id=wxID_ARENAPAGESTATICTEXT9, label=_('Basic seating') + ':', name='staticText9', - parent=self.new_arena_panel, pos=wxPoint(24, 56), size=wxSize(114, - 18), style=0) + parent=self.new_arena_panel, pos=wxPoint(24, 56), size=wxSize(100, + 15), style=0) self.staticText9.SetConstraints(LayoutAnchors(self.staticText9, True, True, False, False)) self.staticText9.SetFont(wxFont(10, wxSWISS, wxNORMAL, wxBOLD, False, @@ -258,8 +257,8 @@ self.staticText10 = wxStaticText(id=wxID_ARENAPAGESTATICTEXT10, label=_('Roofed seating') + ':', name='staticText10', - parent=self.new_arena_panel, pos=wxPoint(24, 80), size=wxSize(129, - 18), style=0) + parent=self.new_arena_panel, pos=wxPoint(24, 80), size=wxSize(113, + 15), style=0) self.staticText10.SetConstraints(LayoutAnchors(self.staticText10, True, True, False, False)) self.staticText10.SetFont(wxFont(10, wxSWISS, wxNORMAL, wxBOLD, False, @@ -308,8 +307,8 @@ self.OnPref_62_5_percentRadiobutton) self.build_panel = wxPanel(id=wxID_ARENAPAGEBUILD_PANEL, - name='build_panel', parent=self, pos=wxPoint(368, 272), - size=wxSize(360, 352), style=wxTAB_TRAVERSAL) + name='build_panel', parent=self, pos=wxPoint(368, 192), + size=wxSize(328, 264), style=wxTAB_TRAVERSAL) self.staticBox6 = wxStaticBox(id=wxID_ARENAPAGESTATICBOX6, label=_('Build'), name='staticBox6', parent=self.build_panel, @@ -317,7 +316,7 @@ self.staticText11 = wxStaticText(id=wxID_ARENAPAGESTATICTEXT11, label=_('Terraces') + ':', name='staticText11', - parent=self.build_panel, pos=wxPoint(24, 48), size=wxSize(76, 18), + parent=self.build_panel, pos=wxPoint(24, 48), size=wxSize(65, 15), style=0) self.staticText11.SetConstraints(LayoutAnchors(self.staticText11, True, True, False, False)) @@ -326,8 +325,8 @@ self.staticText12 = wxStaticText(id=wxID_ARENAPAGESTATICTEXT12, label=_('Basic seating') + ':', name='staticText12', - parent=self.build_panel, pos=wxPoint(24, 72), size=wxSize(114, - 18), style=0) + parent=self.build_panel, pos=wxPoint(24, 72), size=wxSize(100, + 15), style=0) self.staticText12.SetConstraints(LayoutAnchors(self.staticText12, True, True, False, False)) self.staticText12.SetFont(wxFont(10, wxSWISS, wxNORMAL, wxBOLD, False, @@ -335,8 +334,8 @@ self.staticText13 = wxStaticText(id=wxID_ARENAPAGESTATICTEXT13, label=_('Roofed seating') + ':', name='staticText13', - parent=self.build_panel, pos=wxPoint(24, 96), size=wxSize(129, - 18), style=0) + parent=self.build_panel, pos=wxPoint(24, 96), size=wxSize(113, + 15), style=0) self.staticText13.SetConstraints(LayoutAnchors(self.staticText13, True, True, False, False)) self.staticText13.SetFont(wxFont(10, wxSWISS, wxNORMAL, wxBOLD, False, @@ -344,8 +343,8 @@ self.staticText14 = wxStaticText(id=wxID_ARENAPAGESTATICTEXT14, label=_('Seating in VIP boxes') + ':', name='staticText14', - parent=self.build_panel, pos=wxPoint(24, 120), size=wxSize(176, - 18), style=0) + parent=self.build_panel, pos=wxPoint(24, 120), size=wxSize(149, + 15), style=0) self.staticText14.SetConstraints(LayoutAnchors(self.staticText14, True, True, False, False)) self.staticText14.SetFont(wxFont(10, wxSWISS, wxNORMAL, wxBOLD, False, @@ -373,8 +372,8 @@ self.staticText16 = wxStaticText(id=wxID_ARENAPAGESTATICTEXT16, label=_('Build total') + ':', name='staticText16', - parent=self.build_panel, pos=wxPoint(24, 144), size=wxSize(88, - 18), style=0) + parent=self.build_panel, pos=wxPoint(24, 144), size=wxSize(78, + 15), style=0) self.staticText16.SetConstraints(LayoutAnchors(self.staticText16, True, True, False, False)) self.staticText16.SetFont(wxFont(10, wxSWISS, wxNORMAL, wxBOLD, False, @@ -382,8 +381,8 @@ self.staticText17 = wxStaticText(id=wxID_ARENAPAGESTATICTEXT17, label=_('Building cost') + ':', name='staticText17', - parent=self.build_panel, pos=wxPoint(24, 184), size=wxSize(140, - 22), style=0) + parent=self.build_panel, pos=wxPoint(24, 184), size=wxSize(107, + 17), style=0) self.staticText17.SetConstraints(LayoutAnchors(self.staticText17, True, True, False, False)) self.staticText17.SetFont(wxFont(12, wxSWISS, wxNORMAL, wxBOLD, False, @@ -391,7 +390,7 @@ self.build_cost = wxStaticText(id=wxID_ARENAPAGEBUILD_COST, label='', name='build_cost', parent=self.build_panel, pos=wxPoint(208, 184), - size=wxSize(0, 22), style=wxALIGN_RIGHT) + size=wxSize(0, 17), style=wxALIGN_RIGHT) self.build_cost.SetFont(wxFont(12, wxSWISS, wxNORMAL, wxNORMAL, False, 'Sans'))