Changeset f629e62f in sasview


Ignore:
Timestamp:
Oct 25, 2017 10:18:21 AM (2 years ago)
Author:
krzywon
Branches:
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
Children:
fca1f50
Parents:
c31d41e7
Message:

Expand horizontal window size with size of input text.

Location:
src/sas/qtgui/Perspectives/Fitting
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Perspectives/Fitting/GPUOptions.py

    rc31d41e7 rf629e62f  
    5959                check_box.click() 
    6060                self.clicked = True 
     61        self.openCLCheckBoxGroup.setMinimumWidth( 
     62            self.optionsLayout.sizeHint().width()) 
     63        self.setMinimumWidth(self.verticalLayout.sizeHint().width()) 
    6164 
    6265    def createLinks(self): 
  • src/sas/qtgui/Perspectives/Fitting/UI/GPUOptionsUI.ui

    rc31d41e7 rf629e62f  
    3333    </rect> 
    3434   </property> 
    35    <layout class="QVBoxLayout" name="verticalLayout" stretch="5,1,1"> 
     35   <layout class="QVBoxLayout" name="verticalLayout" stretch="5,1,0"> 
    3636    <property name="sizeConstraint"> 
    3737     <enum>QLayout::SetMinimumSize</enum> 
     
    106106      </item> 
    107107      <item> 
     108       <widget class="QPushButton" name="testButton"> 
     109        <property name="text"> 
     110         <string>Test</string> 
     111        </property> 
     112       </widget> 
     113      </item> 
     114      <item> 
    108115       <widget class="QPushButton" name="helpButton"> 
    109116        <property name="text"> 
     
    112119        <property name="autoDefault"> 
    113120         <bool>true</bool> 
    114         </property> 
    115        </widget> 
    116       </item> 
    117       <item> 
    118        <widget class="QPushButton" name="testButton"> 
    119         <property name="text"> 
    120          <string>Test</string> 
    121121        </property> 
    122122       </widget> 
Note: See TracChangeset for help on using the changeset viewer.