@matheusbsbs / matheus-bagliano / commits / acb9108c19
Fork 0

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>

Vietor Liu committed Oct 16, 2009 at 17:41 UTC acb9108c19e40b0477b8c828d1c5054665abbaf4
1 file changed +1 -1
git-gui.sh
+1 -1
@@ -3083,7 +3083,7 @@ frame .vpane.lower.diff.body
3083 set ui_diff .vpane.lower.diff.body.t
3084 text $ui_diff -background white -foreground black \
3085 -borderwidth 0 \
3086 - -width 80 -height 15 -wrap none \
3086 + -width 80 -height 5 -wrap none \
3087 -font font_diff \
3088 -xscrollcommand {.vpane.lower.diff.body.sbx set} \
3089 -yscrollcommand {.vpane.lower.diff.body.sby set} \