[PATCH] qgit4: Set a 5:1 stretch ratio on the left and right halves of the patch viewer
- From
- Andy Parkins <andyparkins@gmail.com>
- Date
- Feb 8, 2007, 23:31 UTC
- Message-ID
- <200702082331.43424.andyparkins@gmail.com>
- In-Reply-To
- <200702082158.56463.andyparkins@gmail.com>
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 <andyparkins@gmail.com> --- 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