mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Align CSVUnits with the other QComboBoxes
The CSVUnits QComboBox wasn't in a layout and that made it look a bit weird. This adds a layout around it. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									b1d7ba9f63
								
							
						
					
					
						commit
						72aeb53e19
					
				
					 1 changed files with 14 additions and 30 deletions
				
			
		| 
						 | 
				
			
			@ -31,12 +31,6 @@
 | 
			
		|||
      <layout class="QGridLayout" name="gridLayout_2">
 | 
			
		||||
       <item row="0" column="0" rowspan="3">
 | 
			
		||||
        <widget class="QGroupBox" name="groupBox_3">
 | 
			
		||||
         <property name="sizePolicy">
 | 
			
		||||
          <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
 | 
			
		||||
           <horstretch>0</horstretch>
 | 
			
		||||
           <verstretch>0</verstretch>
 | 
			
		||||
          </sizepolicy>
 | 
			
		||||
         </property>
 | 
			
		||||
         <property name="title">
 | 
			
		||||
          <string>Field Configuration</string>
 | 
			
		||||
         </property>
 | 
			
		||||
| 
						 | 
				
			
			@ -181,12 +175,6 @@
 | 
			
		|||
       </item>
 | 
			
		||||
       <item row="1" column="1">
 | 
			
		||||
        <widget class="QGroupBox" name="groupBox_4">
 | 
			
		||||
         <property name="sizePolicy">
 | 
			
		||||
          <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
 | 
			
		||||
           <horstretch>0</horstretch>
 | 
			
		||||
           <verstretch>0</verstretch>
 | 
			
		||||
          </sizepolicy>
 | 
			
		||||
         </property>
 | 
			
		||||
         <property name="title">
 | 
			
		||||
          <string>Pre-configured imports</string>
 | 
			
		||||
         </property>
 | 
			
		||||
| 
						 | 
				
			
			@ -206,26 +194,22 @@
 | 
			
		|||
         <property name="title">
 | 
			
		||||
          <string>Units</string>
 | 
			
		||||
         </property>
 | 
			
		||||
         <widget class="QComboBox" name="CSVUnits">
 | 
			
		||||
          <property name="geometry">
 | 
			
		||||
           <rect>
 | 
			
		||||
            <x>20</x>
 | 
			
		||||
            <y>30</y>
 | 
			
		||||
            <width>251</width>
 | 
			
		||||
            <height>29</height>
 | 
			
		||||
           </rect>
 | 
			
		||||
          </property>
 | 
			
		||||
         <layout class="QHBoxLayout" name="horizontalLayout_4">
 | 
			
		||||
          <item>
 | 
			
		||||
           <property name="text">
 | 
			
		||||
            <string>Metric</string>
 | 
			
		||||
           </property>
 | 
			
		||||
           <widget class="QComboBox" name="CSVUnits">
 | 
			
		||||
            <item>
 | 
			
		||||
             <property name="text">
 | 
			
		||||
              <string>Metric</string>
 | 
			
		||||
             </property>
 | 
			
		||||
            </item>
 | 
			
		||||
            <item>
 | 
			
		||||
             <property name="text">
 | 
			
		||||
              <string>Imperial</string>
 | 
			
		||||
             </property>
 | 
			
		||||
            </item>
 | 
			
		||||
           </widget>
 | 
			
		||||
          </item>
 | 
			
		||||
          <item>
 | 
			
		||||
           <property name="text">
 | 
			
		||||
            <string>Imperial</string>
 | 
			
		||||
           </property>
 | 
			
		||||
          </item>
 | 
			
		||||
         </widget>
 | 
			
		||||
         </layout>
 | 
			
		||||
        </widget>
 | 
			
		||||
       </item>
 | 
			
		||||
       <item row="3" column="1">
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue