Changeset 944724a in sasview for sansguiframe
- Timestamp:
- Sep 21, 2012 12:19:23 PM (12 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 8e24480
- Parents:
- dad7cef
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansguiframe/src/sans/guiframe/CategoryManager.py
rea5fa58 r944724a 258 258 self._get_cat_list(), 259 259 self.by_model_dict[selected_model]) 260 260 icon = self.parent.GetIcon() 261 modify_dialog.SetIcon(icon) 261 262 if modify_dialog.ShowModal() == wx.ID_OK: 262 263 self.by_model_dict[selected_model] = \ … … 367 368 if str(self.current_cats[0]) == 'Uncategorized': 368 369 self.current_cats = [] 370 371 vbox = wx.BoxSizer(wx.VERTICAL) 372 gs = wx.GridSizer(3, 2, 5, 5) 369 373 370 374 self.cat_list = cat_list … … 396 400 self.existing_check.Bind(wx.EVT_RADIOBUTTON, self.on_existing) 397 401 self.new_check.Bind(wx.EVT_RADIOBUTTON, self.on_newcat) 398 399 400 401 vbox = wx.BoxSizer(wx.VERTICAL) 402 self.existing_check.SetValue(True) 403 404 402 405 vbox.Add(self.cat_text, flag = wx.LEFT | wx.TOP | wx.ALIGN_LEFT, 403 406 border = 10) … … 405 408 border = 10 ) 406 409 407 gs = wx.GridSizer(3, 2, 5, 5)410 408 411 409 412 gs.AddMany( [ (self.existing_check, 5, wx.ALL), 410 (self.exist_combo, 5, wx.ALL ),413 (self.exist_combo, 5, wx.ALL, 5), 411 414 (self.new_check, 5, wx.ALL), 412 (self.new_text, 5, wx.ALL 415 (self.new_text, 5, wx.ALL, 5), 413 416 ((-1,-1)), 414 (self.add_button, 5, wx.ALL | wx.ALIGN_RIGHT ) ] )417 (self.add_button, 5, wx.ALL | wx.ALIGN_RIGHT, 5) ] ) 415 418 416 419 self.add_sb_sizer.Add(gs, proportion = 1, flag = wx.ALL, border = 5)
Note: See TracChangeset
for help on using the changeset viewer.