Browse Source

Enable word wrap for kernel opts in VM settings

fixes QubesOS/qubes-issues#6247
Marta Marczykowska-Górecka 3 years ago
parent
commit
e5aa700401
1 changed files with 10 additions and 1 deletions
  1. 10 1
      ui/settingsdlg.ui

+ 10 - 1
ui/settingsdlg.ui

@@ -981,11 +981,17 @@ The qube must be running to disable seamless mode; this setting is not persisten
               <item row="2" column="1">
                <widget class="QLabel" name="kernel_opts">
                 <property name="sizePolicy">
-                 <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
+                 <sizepolicy hsizetype="Maximum" vsizetype="Minimum">
                   <horstretch>0</horstretch>
                   <verstretch>0</verstretch>
                  </sizepolicy>
                 </property>
+                <property name="maximumSize">
+                 <size>
+                  <width>250</width>
+                  <height>16777215</height>
+                 </size>
+                </property>
                 <property name="font">
                  <font>
                   <weight>50</weight>
@@ -996,6 +1002,9 @@ The qube must be running to disable seamless mode; this setting is not persisten
                 <property name="text">
                  <string>[]</string>
                 </property>
+                <property name="wordWrap">
+                 <bool>true</bool>
+                </property>
                </widget>
               </item>
              </layout>