Changeset 8001331 in sasview for src/sans


Ignore:
Timestamp:
Apr 9, 2014 10:34:02 AM (11 years ago)
Author:
Mathieu Doucet <doucetm@…>
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:
12a1631
Parents:
6a4511d1
Message:

Fix panel position on windows

Location:
src/sans/guiframe
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/sans/guiframe/gui_manager.py

    r6a4511d1 r8001331  
    10171017        win.SetSize((d_panel_width, h)) 
    10181018        is_visible = self.__gui_style & GUIFRAME.MANAGER_ON == GUIFRAME.MANAGER_ON 
    1019         if not IS_WIN: 
     1019        if IS_WIN: 
     1020            win.SetPosition((0, 0)) 
     1021        else: 
    10201022            win.SetPosition((0, mac_pos_y + size_t_bar)) 
    10211023        win.Show(is_visible) 
     
    10401042                frame.SetSize((w, h)) 
    10411043                frame.Show(False) 
    1042             if not IS_WIN: 
     1044            if IS_WIN: 
     1045                frame.SetPosition((d_panel_width + 1, 0)) 
     1046            else: 
    10431047                frame.SetPosition((d_panel_width + 1, mac_pos_y + size_t_bar)) 
    10441048 
  • src/sans/guiframe/gui_statusbar.py

    r7e44299 r8001331  
    133133        # Create status bar icon reflecting the type of status 
    134134        # for the last message 
    135         self.status_color = wx.StaticText(self, id=wx.NewId(), label="   ") 
     135        self.status_color = wx.StaticText(self, id=wx.NewId(), label="   ", size=wx.Size(15,15)) 
    136136        self.status_color.SetBackgroundColour(GREEN) 
    137137        self.status_color.SetForegroundColour(GREEN) 
Note: See TracChangeset for help on using the changeset viewer.