Skip to content

Commit

Permalink
git-gui--askyesno: fix funny text wrapping
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
dscho committed Sep 18, 2024
1 parent 26cb463 commit d74467f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions git-gui/git-gui--askyesno
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ if {$argc < 1} {
}

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

Expand Down

0 comments on commit d74467f

Please sign in to comment.