summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cd846aa)
raw | patch | inline | side by side (parent: cd846aa)
author | Vietor Liu <vietor@vxwo.org> | |
Fri, 16 Oct 2009 09:41:26 +0000 (17:41 +0800) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Tue, 27 Oct 2009 18:25:59 +0000 (11:25 -0700) |
When the main window is maximized, if the screen height is shorter (e.g.
Netbook screen 1024x600), both the partial commit pane and the status bar
are hidden. The diff pane is resizable, so that it can use less vertical
height, allowing the overall window to be shorter and still display both
the entire commit pane and status bar.
Signed-off-by: Vietor Liu <vietor@vxwo.org>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Netbook screen 1024x600), both the partial commit pane and the status bar
are hidden. The diff pane is resizable, so that it can use less vertical
height, allowing the overall window to be shorter and still display both
the entire commit pane and status bar.
Signed-off-by: Vietor Liu <vietor@vxwo.org>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh | patch | blob | history |
diff --git a/git-gui.sh b/git-gui.sh
index 09b27203db742f7b9a59d2246f4843a1071f1196..037a1f2c21958252052f4c1cf0d8a8507574ca95 100755 (executable)
--- a/git-gui.sh
+++ b/git-gui.sh
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} \