Skip to content

Commit c8491de

Browse files
dschoGit for Windows Build Agent
authored andcommitted
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 1ff4014 commit c8491de

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
@@ -29,8 +29,8 @@ if {$argc < 1} {
2929
}
3030

3131
${NS}::frame .t
32-
${NS}::label .t.m -text $prompt -justify center -width 40
33-
.t.m configure -wraplength 400
32+
${NS}::label .t.m -text $prompt -justify center -width 400px
33+
.t.m configure -wraplength 400px
3434
pack .t.m -side top -fill x -padx 20 -pady 20 -expand 1
3535
pack .t -side top -fill x -ipadx 20 -ipady 20 -expand 1
3636

0 commit comments

Comments
 (0)