Commit 2c70c72d authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

PreviewWidget: Don't use a grid layout.

parent d76da238
......@@ -25,14 +25,34 @@
<property name="windowTitle">
<string>Preview</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<property name="margin">
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>0</number>
</property>
<property name="spacing">
<property name="margin">
<number>0</number>
</property>
<item row="2" column="0">
<item>
<widget class="QWidget" name="renderWidget" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item>
<widget class="PreviewRuler" name="rulerWidget" native="true">
<property name="minimumSize">
<size>
<width>0</width>
<height>30</height>
</size>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="spacing">
<number>6</number>
......@@ -393,26 +413,6 @@
</item>
</layout>
</item>
<item row="0" column="0">
<widget class="QWidget" name="renderWidget" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="PreviewRuler" name="rulerWidget" native="true">
<property name="minimumSize">
<size>
<width>0</width>
<height>30</height>
</size>
</property>
</widget>
</item>
</layout>
</widget>
<customwidgets>
......
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