Skip to content

Commit 01b9325

Browse files
committed
git-gui: fix layout problems with large windows
1 parent 3f851e2 commit 01b9325

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

git-gui.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3282,13 +3282,13 @@ ${NS}::panedwindow .vpane.files -orient vertical
32823282
if {$use_ttk} {
32833283
.vpane add .vpane.files
32843284
} else {
3285-
.vpane add .vpane.files -sticky nsew -height 100 -width 200
3285+
.vpane add .vpane.files -sticky nsew -height 600 -width 400
32863286
}
32873287
pack .vpane -anchor n -side top -fill both -expand 1
32883288

32893289
# -- Working Directory File List
32903290

3291-
textframe .vpane.files.workdir -height 100 -width 200
3291+
textframe .vpane.files.workdir -height 300 -width 400
32923292
tlabel .vpane.files.workdir.title -text [mc "Unstaged Changes"] \
32933293
-background lightsalmon -foreground black
32943294
ttext $ui_workdir \
@@ -3309,7 +3309,7 @@ pack $ui_workdir -side left -fill both -expand 1
33093309

33103310
# -- Index File List
33113311
#
3312-
textframe .vpane.files.index -height 100 -width 200
3312+
textframe .vpane.files.index -height 300 -width 400
33133313
tlabel .vpane.files.index.title \
33143314
-text [mc "Staged Changes (Will Commit)"] \
33153315
-background lightgreen -foreground black
@@ -3372,7 +3372,7 @@ if {$have_tk85} {
33723372
.vpane.lower paneconfigure .vpane.lower.commarea -stretch never
33733373
}
33743374
} else {
3375-
frame .vpane.lower -height 300 -width 400
3375+
frame .vpane.lower -height 600 -width 400
33763376
frame .vpane.lower.commarea
33773377
frame .vpane.lower.diff -relief sunken -borderwidth 1
33783378
pack .vpane.lower.diff -fill both -expand 1

0 commit comments

Comments
 (0)