diff --git a/Greenshot/Drawing/TextContainer.cs b/Greenshot/Drawing/TextContainer.cs index 4bb5ebdf6..5ff655b80 100644 --- a/Greenshot/Drawing/TextContainer.cs +++ b/Greenshot/Drawing/TextContainer.cs @@ -181,6 +181,8 @@ namespace Greenshot.Drawing { _font.Dispose(); _font = null; UpdateFormat(); + } else { + UpdateAlignment(); } UpdateTextBoxFormat(); @@ -303,6 +305,10 @@ namespace Greenshot.Drawing { throw; } + UpdateAlignment(); + } + + private void UpdateAlignment() { _stringFormat.Alignment = (StringAlignment)GetFieldValue(FieldType.TEXT_HORIZONTAL_ALIGNMENT); _stringFormat.LineAlignment = (StringAlignment)GetFieldValue(FieldType.TEXT_VERTICAL_ALIGNMENT); } diff --git a/Greenshot/releases/additional_files/readme.txt.template b/Greenshot/releases/additional_files/readme.txt.template index 8f80612be..5aa4d90a1 100644 --- a/Greenshot/releases/additional_files/readme.txt.template +++ b/Greenshot/releases/additional_files/readme.txt.template @@ -15,6 +15,7 @@ Bugs Resolved: * BUG-1735: Editor crashed when trying to scale down a screenshot with text element * BUG-1741: Fixed a bug in the confluence plug-in, error when searching for nothing, by improving the upload GUI. * BUG-1750: Filename pattern is now checked for invalid characters to avoid exception when saving directly. +* BUG-1752: Fixed horizontal alignment for textboxes Languages: * Portuguese (Portugal): application translation updates + new translation for plugin and help, thanks to Luis Neves