Skip to content

Commit

Permalink
Avoid allocating a very large width for hint labels
Browse files Browse the repository at this point in the history
Fixes: #2049937
  • Loading branch information
cameronwhite committed Jan 20, 2024
1 parent 9e35d89 commit c6ad7a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ Thanks to the following contributors who worked on this release:
- The Clone Stamp tool no longer resets the destination offset after each stroke ([#2031257](https://bugs.launchpad.net/pinta/+bug/2031257))
- Fixed potential errors when pasting in the text tool if the clipboard didn't contain text ([#2047495](https://bugs.launchpad.net/pinta/+bug/2047495))
- The text tool now supports pre-editing to display the intermediate characters entered by an input method ([#2047445](https://bugs.launchpad.net/pinta/+bug/2047445))
- Fixed layout issues in the effect dialogs ([#2049937](https://bugs.launchpad.net/pinta/+bug/2049937))

## [2.1.1](https://github.com/PintaProject/Pinta/releases/tag/2.1.1) - 2023/02/26

Expand Down
1 change: 1 addition & 0 deletions Pinta.Gui.Widgets/Dialogs/SimpleEffectDialog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,7 @@ private static Gtk.Label CreateHintLabel (string hint)
var label = Gtk.Label.New (hint);
label.Wrap = true;
label.Halign = Gtk.Align.Start;
label.MaxWidthChars = 40;
return label;
}

Expand Down

0 comments on commit c6ad7a7

Please sign in to comment.