Code

git-gui: adjust the minimum height of diff pane for shorter screen height
authorVietor Liu <vietor@vxwo.org>
Fri, 16 Oct 2009 09:41:26 +0000 (17:41 +0800)
committerShawn O. Pearce <spearce@spearce.org>
Tue, 27 Oct 2009 18:25:59 +0000 (11:25 -0700)
commitacb9108c19e40b0477b8c828d1c5054665abbaf4
tree3c2bdf5bd0d852e156591f044a44ff11bb67b968
parentcd846aa183a01b8d881122a938f93ba38bc12629
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>
git-gui.sh