Skip to content

Commit f681420

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 <johannes.schindelin@gmx.de>
1 parent a3b1199 commit f681420

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

git-gui/git-gui--askyesno.sh

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)