diff options
author | Vietor Liu <vietor@vxwo.org> | 2009-10-16 17:41:26 +0800 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2009-10-27 11:25:59 -0700 |
commit | acb9108c19e40b0477b8c828d1c5054665abbaf4 (patch) | |
tree | 3c2bdf5bd0d852e156591f044a44ff11bb67b968 | |
parent | cd846aa183a01b8d881122a938f93ba38bc12629 (diff) | |
download | git-acb9108c19e40b0477b8c828d1c5054665abbaf4.tar.gz git-acb9108c19e40b0477b8c828d1c5054665abbaf4.tar.xz |
git-gui: adjust the minimum height of diff pane for shorter screen height
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>
-rwxr-xr-x | git-gui.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-gui.sh b/git-gui.sh index 09b27203d..037a1f2c2 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} \ |