[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [ark] part: infopanel: always use KSqueezedTextLabel
From:       Elvis Angelaccio <elvis.angelaccio () kde ! org>
Date:       2016-11-12 18:11:57
Message-ID: E1c5cmT-0004wQ-PG () code ! kde ! org
[Download RAW message or body]

Git commit a6a38b5bf64a58df332aa83441154fb85b68464d by Elvis Angelaccio.
Committed on 12/11/2016 at 18:09.
Pushed by elvisangelaccio into branch 'master'.

infopanel: always use KSqueezedTextLabel

This ensures that resizing of the panel always works, no matter what the
Type label might contain.

BUG: 363719
FIXED-IN: 16.12.0

M  +10   -10   part/infopanel.ui

http://commits.kde.org/ark/a6a38b5bf64a58df332aa83441154fb85b68464d

diff --git a/part/infopanel.ui b/part/infopanel.ui
index c9ac5ea..1d99966 100644
--- a/part/infopanel.ui
+++ b/part/infopanel.ui
@@ -6,7 +6,7 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>140</width>
+    <width>491</width>
     <height>300</height>
    </rect>
   </property>
@@ -82,37 +82,37 @@
     <widget class="QWidget" name="m_metaDataWidget" native="true">
      <layout class="QVBoxLayout" name="verticalLayout">
       <item>
-       <widget class="QLabel" name="m_typeLabel">
+       <widget class="KSqueezedTextLabel" name="m_typeLabel">
         <property name="text">
-         <string notr="true">Type</string>
+         <string notr="true">KSqueezedTextLabel</string>
         </property>
        </widget>
       </item>
       <item>
-       <widget class="QLabel" name="m_ownerLabel">
+       <widget class="KSqueezedTextLabel" name="m_ownerLabel">
         <property name="text">
-         <string notr="true">Owner</string>
+         <string notr="true">KSqueezedTextLabel</string>
         </property>
        </widget>
       </item>
       <item>
-       <widget class="QLabel" name="m_groupLabel">
+       <widget class="KSqueezedTextLabel" name="m_groupLabel">
         <property name="text">
-         <string notr="true">Group</string>
+         <string notr="true">KSqueezedTextLabel</string>
         </property>
        </widget>
       </item>
       <item>
        <widget class="KSqueezedTextLabel" name="m_targetLabel">
         <property name="text">
-         <string notr="true">Target</string>
+         <string notr="true">KSqueezedTextLabel</string>
         </property>
        </widget>
       </item>
       <item>
-       <widget class="QLabel" name="m_passwordLabel">
+       <widget class="KSqueezedTextLabel" name="m_passwordLabel">
         <property name="text">
-         <string notr="true">Password</string>
+         <string notr="true">KSqueezedTextLabel</string>
         </property>
        </widget>
       </item>
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic