Alignment issues when reading/writing settings

Description

We have an issue with the Horizontal alignment of our text, as we use HorizontalAlignment to store/restore from file, but cast to StringAlignment.

Unfortunately theses enums don't match

Environment

None

Attachments

1

Gliffy Diagrams

Activity

Show:

Robin Krom December 2, 2014 at 4:00 PM

I had a quick idea, as I wanted to finish the sprint as soon as possible.

My current suggestion for the change is here:
https://bitbucket.org/greenshot/greenshot/commits/018324d4c45a5bfcad223b10d8f4bd7588e4b060

Let me know if that is okay, I didn't remove the Horizontal/Vertical Alignment enums yet as the surface uses them...

Robin Krom November 30, 2014 at 9:15 PM

Can you have a look at this?
Might it be more logical to only use StringAlignment for both the horizontal as vertical alignment?

Fixed

Details

Assignee

Reporter

Affects versions

Components

Priority

Time tracking

2h logged

Sprint

Created November 30, 2014 at 9:13 PM
Updated December 2, 2014 at 4:00 PM
Resolved December 2, 2014 at 4:00 PM