]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - sitara-linux/evse-hmi.git/commitdiff
evse_hmi.ui: fix character truncation issue master
authorEric Ruei <e-ruei1@ti.com>
Mon, 12 Nov 2018 13:53:12 +0000 (08:53 -0500)
committerEric Ruei <e-ruei1@ti.com>
Mon, 12 Nov 2018 13:53:12 +0000 (08:53 -0500)
- "click to continue" is too long to display on smaller display or with
   large font and it does not make sense anyway. Change to "Continue"
- ElapsedTime and RemainingTime window is too small, increase width from
  42 to 50 and change type to "Expanding"

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
evse_hmi.ui

index cd9e75061afe181019d96d32e9f54847448a36ad..89796ce316b69a4f7fd0579c5dcc8e1aaba63bcb 100644 (file)
@@ -308,7 +308,7 @@ width:100%;</string>
 </string>
                 </property>
                 <property name="text">
-                 <string>Click to Continue</string>
+                 <string>Continue</string>
                 </property>
                </widget>
               </item>
@@ -1900,20 +1900,20 @@ background:none;</string>
                  <item>
                   <widget class="QLabel" name="RemainingTimeLabel">
                    <property name="sizePolicy">
-                    <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+                    <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
                      <horstretch>0</horstretch>
                      <verstretch>0</verstretch>
                     </sizepolicy>
                    </property>
                    <property name="minimumSize">
                     <size>
-                     <width>42</width>
+                     <width>50</width>
                      <height>20</height>
                     </size>
                    </property>
                    <property name="maximumSize">
                     <size>
-                     <width>42</width>
+                     <width>50</width>
                      <height>16777215</height>
                     </size>
                    </property>
@@ -1972,20 +1972,20 @@ background:none;</string>
                  <item>
                   <widget class="QLabel" name="ElapsedTimeLabel">
                    <property name="sizePolicy">
-                    <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+                    <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
                      <horstretch>0</horstretch>
                      <verstretch>0</verstretch>
                     </sizepolicy>
                    </property>
                    <property name="minimumSize">
                     <size>
-                     <width>42</width>
+                     <width>50</width>
                      <height>20</height>
                     </size>
                    </property>
                    <property name="maximumSize">
                     <size>
-                     <width>42</width>
+                     <width>50</width>
                      <height>16777215</height>
                     </size>
                    </property>