Changeset 5afe77f in sasview for src


Ignore:
Timestamp:
Jul 13, 2016 6:15:39 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:
ff790b3
Parents:
a58706d
Message:

Better instruction label positioning

File:
1 edited

Legend:

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

    ra58706d r5afe77f  
    9292            "and Intensity data, chose where to save the converted file, then " 
    9393            "click Convert to convert them to CanSAS XML format") 
    94         instruction_label = wx.StaticText(self, -1, "", 
    95             size=(_STATICBOX_WIDTH+40, 28)) 
    96         instruction_label.SetLabel(instructions) 
    97         vbox.Add(instruction_label, (0,0), (1,1), wx.ALL, 5) 
     94        instruction_label = wx.StaticText(self, -1, instructions, 
     95            size=(_STATICBOX_WIDTH+40, -1)) 
     96        instruction_label.Wrap(_STATICBOX_WIDTH+40) 
     97        vbox.Add(instruction_label, (0,0), (1,1), wx.TOP | wx.LEFT | wx.RIGHT, 5) 
    9898 
    9999        section = wx.StaticBox(self, -1) 
Note: See TracChangeset for help on using the changeset viewer.