Skip to content

Commit acb9108

Browse files
Vietor Liuspearce
authored andcommitted
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 <[email protected]> Signed-off-by: Shawn O. Pearce <[email protected]>
1 parent cd846aa commit acb9108

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-gui.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3083,7 +3083,7 @@ frame .vpane.lower.diff.body
30833083
set ui_diff .vpane.lower.diff.body.t
30843084
text $ui_diff -background white -foreground black \
30853085
-borderwidth 0 \
3086-
-width 80 -height 15 -wrap none \
3086+
-width 80 -height 5 -wrap none \
30873087
-font font_diff \
30883088
-xscrollcommand {.vpane.lower.diff.body.sbx set} \
30893089
-yscrollcommand {.vpane.lower.diff.body.sby set} \

0 commit comments

Comments
 (0)