This stops the file list taking up half the screen by default. The
exact ratio is probably not to important, as long as it's not 1:1.
Signed-off-by: Andy Parkins <redacted>
---
src/patchview.ui | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/src/patchview.ui b/src/patchview.ui
index bd723e8..4537dd7 100644
--- a/src/patchview.ui
+++ b/src/patchview.ui
@@ -132,6 +132,14 @@
<enum>Qt::Horizontal</enum>
</property>
<widget class="QSplitter" name="splitter" >
+ <property name="sizePolicy" >
+ <sizepolicy>
+ <hsizetype>5</hsizetype>
+ <vsizetype>7</vsizetype>
+ <horstretch>5</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>@@ -156,6 +164,14 @@
</widget>
</widget>
<widget class="FileList" name="fileList" >
+ <property name="sizePolicy" >
+ <sizepolicy>
+ <hsizetype>13</hsizetype>
+ <vsizetype>13</vsizetype>
+ <horstretch>1</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
<property name="contextMenuPolicy" >
<enum>Qt::CustomContextMenu</enum>
</property>--
1.5.0.rc1.gf4b6c