Commit 1dda8e10 authored by Juraj Oravec's avatar Juraj Oravec

TemplatePreview: Enable word-wrap for messagebox and Lines Policy Label

This allows the toolview to take less horizontal space.
Signed-off-by: Juraj Oravec's avatarJuraj Oravec <sgd.orava@gmail.com>
parent 0df73628
......@@ -15,7 +15,11 @@
<number>0</number>
</property>
<item>
<widget class="KMessageWidget" name="messageWidget" native="true"/>
<widget class="KMessageWidget" name="messageWidget" native="true">
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="TemplatePreview" name="preview" native="true"/>
......@@ -48,22 +52,6 @@
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Maximum</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="emptyLinesPolicyLabel">
<property name="enabled">
......@@ -72,6 +60,9 @@
<property name="text">
<string>&amp;Empty lines policy</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
<property name="buddy">
<cstring>emptyLinesPolicyComboBox</cstring>
</property>
......@@ -100,7 +91,7 @@
</widget>
</item>
<item>
<spacer name="horizontalSpacer_2">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment