mirror of
https://github.com/fergalmoran/picard.git
synced 2026-01-01 06:09:22 +00:00
Size policy of both panes plus the minimum width enforced for the tree pane are responsible of the issue Set horizontal policies to Ignored, and use QSplitter.setSizes() to set a smart default. After this change, it is possible to move the splitter smoothly.
63 lines
1.5 KiB
XML
63 lines
1.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>Dialog</class>
|
|
<widget class="QDialog" name="Dialog">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>800</width>
|
|
<height>450</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Options</string>
|
|
</property>
|
|
<layout class="QVBoxLayout">
|
|
<property name="spacing">
|
|
<number>6</number>
|
|
</property>
|
|
<property name="margin">
|
|
<number>9</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QSplitter" name="splitter">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<widget class="QTreeWidget" name="pages_tree">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Ignored" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<column>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</column>
|
|
</widget>
|
|
<widget class="QStackedWidget" name="pages_stack">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Ignored" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QDialogButtonBox" name="buttonbox">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|