git-gui: Change main window layout to support wider screens
authorJohannes Sixt <johannes.sixt@telecom.at>
Thu, 11 Oct 2007 00:50:40 +0000 (20:50 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Fri, 12 Oct 2007 04:14:33 +0000 (00:14 -0400)
commita0592d3f5746b41c60fee71dd8d2d27b5c813907
treea250bbe52fc844cc6b4ceb906909323c0df922fc
parent4dcf4e0ed44183f846878a3845e8a71b61c34edb
git-gui: Change main window layout to support wider screens

The layout is changed to have the file lists at the left (Unstaged
Changes at the top, Staged Changes below it) and the diff window
at the right (with the commit area below it).

  +----------+---------------------+
  | Unstaged |  Diff area          |
  |          |                     |
  |          |                     |
  |          |                     |
  +----------+                     |
  | Staged   |                     |
  |          +---------------------+
  |          |  Commit area        |
  |          |                     |
  +----------+---------------------+

The advantages are:

  - The height of the file lists can be adjusted independently to
    fit the files that they contain.
  - The diff viewer is higher.

On wide screens it is ok that the main window is now generally
wider, too.

Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh