PhotoFlare / photoflare

Quick, simple but powerful Cross Platform image editor.
https://photoflare.io
GNU General Public License v3.0
402 stars 69 forks source link

Inserted text is not centered or right-aligned #284

Open nikonov1996 opened 4 years ago

nikonov1996 commented 4 years ago

Description If selected center (or right) alignment in the text editor, the inserted text area appears in the center (or right) of the image, but the text is not aligned

Steps to reproduce the behavior:

  1. Click on "Image" -> "Text..."
  2. Click on center align or right align
  3. Enter text in text input Example of entered text: "hi hello hi hi hello hello hello"
  4. Click on "Ok"
  5. Pay attention to the location of the text area and the text in it

Expected behavior If chosen center align in text redactor, so text in inserted area should have center align. If chosen right align in text redactor, so text in inserted area should have right align.

Screenshots bandicam_2020-10-04_05-26-33-247

Operating system: Windows 8 x64. Program version: 1.6.5 Community Edition.

DylanC commented 4 years ago

@nikonov1996 - Yes, at the moment the text location is set but the alignment of the text is always left aligned. I'll investigate if this should be corrected and what solution to implement.