# [PATCH] git-gui: Fixed _main window_ for screen height equal 600 px

1 messages from 2009-10-12 to 2009-10-12. Participants: Vietor Liu.
Thread: https://gitlist.dev/t/21203

## Vietor Liu, 2009-10-12 03:18

Subject: [PATCH] git-gui: Fixed _main window_ for screen height equal 600 px
Message-ID: <1255317521-11313-1-git-send-email-vietor@vxwo.org>
URL: https://gitlist.dev/e/1255317521-11313-1-git-send-email-vietor%40vxwo.org

```
When the screen height equal 600 px(e.g. Asus EeePC 1024x600), The
_main window_ should be hide the _Push button_ and _Status bar_.

Signed-off-by: Vietor Liu <vietor@vxwo.org>
---
 git-gui.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/git-gui.sh b/git-gui.sh
index 09b2720..037a1f2 100755
--- a/git-gui.sh
+++ b/git-gui.sh
@@ -3083,7 +3083,7 @@ frame .vpane.lower.diff.body
 set ui_diff .vpane.lower.diff.body.t
 text $ui_diff -background white -foreground black \
 	-borderwidth 0 \
-	-width 80 -height 15 -wrap none \
+	-width 80 -height 5 -wrap none \
 	-font font_diff \
 	-xscrollcommand {.vpane.lower.diff.body.sbx set} \
 	-yscrollcommand {.vpane.lower.diff.body.sby set} \
-- 
1.6.5

```
