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

git-gui: Slightly tweak new window geometry.

I didn't really like the way a new git-gui launched in a new repository as the window geometry wasn't quite the best layou. So this is a minor tweak to try and get space distributed around the window better. By decreasing the widths we're also able to shrink the gui smaller without Tk clipping content at the edge of the window. A nice feature. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>

Shawn O. Pearce committed Jan 21, 2007 at 17:50 UTC c5a1eb889ca3df51ac443916a037b59c46983239
1 file changed +5 -5
git-gui.sh
+5 -5
@@ -3726,17 +3726,17 @@ pack .branch -side top -fill x
3726 #
3727 panedwindow .vpane -orient vertical
3728 panedwindow .vpane.files -orient horizontal
3729 -.vpane add .vpane.files -sticky nsew -height 100 -width 400
3729 +.vpane add .vpane.files -sticky nsew -height 100 -width 200
3730 pack .vpane -anchor n -side top -fill both -expand 1
3731
3732 # -- Index File List
3733 #
3734 -frame .vpane.files.index -height 100 -width 400
3734 +frame .vpane.files.index -height 100 -width 200
3735 label .vpane.files.index.title -text {Changes To Be Committed} \
3736 -background green \
3737 -font font_ui
3738 text $ui_index -background white -borderwidth 0 \
3739 - -width 40 -height 10 \
3739 + -width 20 -height 10 \
3740 -wrap none \
3741 -font font_ui \
3742 -cursor $cursor_ptr \
@@ -3753,12 +3753,12 @@ pack $ui_index -side left -fill both -expand 1
3753
3754 # -- Working Directory File List
3755 #
3756 -frame .vpane.files.workdir -height 100 -width 100
3756 +frame .vpane.files.workdir -height 100 -width 200
3757 label .vpane.files.workdir.title -text {Changed But Not Updated} \
3758 -background red \
3759 -font font_ui
3760 text $ui_workdir -background white -borderwidth 0 \
3761 - -width 40 -height 10 \
3761 + -width 20 -height 10 \
3762 -wrap none \
3763 -font font_ui \
3764 -cursor $cursor_ptr \