Browse Source

UI: Make transform dialog spinboxes consistant

The spinboxes in the transform dialog were different sizes.
Clayton Groeneveld 3 years ago
parent
commit
76660517d2
1 changed files with 70 additions and 4 deletions
  1. 70 4
      UI/forms/OBSBasicTransform.ui

+ 70 - 4
UI/forms/OBSBasicTransform.ui

@@ -76,6 +76,12 @@
             <height>0</height>
            </size>
           </property>
+          <property name="maximumSize">
+           <size>
+            <width>100</width>
+            <height>16777215</height>
+           </size>
+          </property>
           <property name="accessibleName">
            <string>Basic.TransformWindow.PositionX</string>
           </property>
@@ -101,6 +107,12 @@
             <height>0</height>
            </size>
           </property>
+          <property name="maximumSize">
+           <size>
+            <width>100</width>
+            <height>16777215</height>
+           </size>
+          </property>
           <property name="accessibleName">
            <string>Basic.TransformWindow.PositionY</string>
           </property>
@@ -145,6 +157,12 @@
          <height>0</height>
         </size>
        </property>
+       <property name="maximumSize">
+        <size>
+         <width>100</width>
+         <height>16777215</height>
+        </size>
+       </property>
        <property name="accessibleName">
         <string>Basic.TransformWindow.Rotation</string>
        </property>
@@ -201,6 +219,12 @@
             <height>0</height>
            </size>
           </property>
+          <property name="maximumSize">
+           <size>
+            <width>100</width>
+            <height>16777215</height>
+           </size>
+          </property>
           <property name="accessibleName">
            <string>Basic.TransformWindow.Width</string>
           </property>
@@ -229,6 +253,12 @@
             <height>0</height>
            </size>
           </property>
+          <property name="maximumSize">
+           <size>
+            <width>100</width>
+            <height>16777215</height>
+           </size>
+          </property>
           <property name="accessibleName">
            <string>Basic.TransformWindow.Height</string>
           </property>
@@ -492,6 +522,12 @@
             <height>0</height>
            </size>
           </property>
+          <property name="maximumSize">
+           <size>
+            <width>100</width>
+            <height>16777215</height>
+           </size>
+          </property>
           <property name="accessibleName">
            <string>Basic.TransformWindow.BoundsWidth</string>
           </property>
@@ -520,6 +556,12 @@
             <height>0</height>
            </size>
           </property>
+          <property name="maximumSize">
+           <size>
+            <width>100</width>
+            <height>16777215</height>
+           </size>
+          </property>
           <property name="accessibleName">
            <string>Basic.TransformWindow.BoundsHeight</string>
           </property>
@@ -575,10 +617,16 @@
          </property>
          <property name="minimumSize">
           <size>
-           <width>70</width>
+           <width>100</width>
            <height>0</height>
           </size>
          </property>
+         <property name="maximumSize">
+          <size>
+           <width>100</width>
+           <height>16777215</height>
+          </size>
+         </property>
          <property name="accessibleName">
           <string>Basic.TransformWindow.CropLeft</string>
          </property>
@@ -600,10 +648,16 @@
          </property>
          <property name="minimumSize">
           <size>
-           <width>70</width>
+           <width>100</width>
            <height>0</height>
           </size>
          </property>
+         <property name="maximumSize">
+          <size>
+           <width>100</width>
+           <height>16777215</height>
+          </size>
+         </property>
          <property name="accessibleName">
           <string>Basic.TransformWindow.CropRight</string>
          </property>
@@ -651,10 +705,16 @@
          </property>
          <property name="minimumSize">
           <size>
-           <width>70</width>
+           <width>100</width>
            <height>0</height>
           </size>
          </property>
+         <property name="maximumSize">
+          <size>
+           <width>100</width>
+           <height>16777215</height>
+          </size>
+         </property>
          <property name="accessibleName">
           <string>Basic.TransformWindow.CropTop</string>
          </property>
@@ -676,10 +736,16 @@
          </property>
          <property name="minimumSize">
           <size>
-           <width>70</width>
+           <width>100</width>
            <height>0</height>
           </size>
          </property>
+         <property name="maximumSize">
+          <size>
+           <width>100</width>
+           <height>16777215</height>
+          </size>
+         </property>
          <property name="accessibleName">
           <string>Basic.TransformWindow.CropBottom</string>
          </property>