Skip to content

Commit d2a95c9

Browse files
committed
git-gui--askyesno: fix funny text wrapping
The text wrapping seems to be aligned to the right side of the Yes button, leaving an awful lot of empty space. Let's try to counter this by using pixel units. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 999b9d2 commit d2a95c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

git-gui/git-gui--askyesno

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ if {$argc < 1} {
2020
}
2121

2222
${NS}::frame .t
23-
${NS}::label .t.m -text $prompt -justify center -width 40
24-
.t.m configure -wraplength 400
23+
${NS}::label .t.m -text $prompt -justify center -width 400px
24+
.t.m configure -wraplength 400px
2525
pack .t.m -side top -fill x -padx 20 -pady 20 -expand 1
2626
pack .t -side top -fill x -ipadx 20 -ipady 20 -expand 1
2727

0 commit comments

Comments
 (0)