Changeset 36f4debb in sasview


Ignore:
Timestamp:
Jul 13, 2016 8:22:43 AM (8 years ago)
Author:
lewis
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, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
fdbea3c
Parents:
f2b3f28
git-author:
Lewis O'Driscoll <lewis.o'driscoll@…> (07/13/16 07:22:28)
git-committer:
Lewis O'Driscoll <lewis.o'driscoll@…> (07/13/16 08:22:43)
Message:

Resize window and make metadata labels prettier

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/perspectives/file_converter/converter_panel.py

    rf2b3f28 r36f4debb  
    1919    _STATICBOX_WIDTH = 410 
    2020    _BOX_WIDTH = 200 
    21     PANEL_SIZE = 460 
     21    PANEL_SIZE = 480 
    2222    FONT_VARIANT = 0 
    2323else: 
     
    2525    _STATICBOX_WIDTH = 430 
    2626    _BOX_WIDTH = 200 
    27     PANEL_SIZE = 480 
     27    PANEL_SIZE = 500 
    2828    FONT_VARIANT = 1 
    2929 
     
    186186        y = 0 
    187187        for item in self.metadata.keys(): 
    188             label = wx.StaticText(metadata_section.GetPane(), -1, item, 
     188            label_txt = item.replace('_', ' ').capitalize() 
     189            label = wx.StaticText(metadata_section.GetPane(), -1, label_txt, 
    189190                style=wx.ALIGN_CENTER_VERTICAL) 
    190191            input_box = wx.TextCtrl(metadata_section.GetPane(), name=item, 
Note: See TracChangeset for help on using the changeset viewer.