In the Draw tool, when inserting a text and then changing the size, the alignment is not taken into account.
To reproduce:
1. Start draw tool
2. Insert a vertical line
3. Insert a text
4. Set alignment of text to "Center"
5. Move the text so that the text is centered to the vertical line.
4. Change font size of the text.
--> Position of the text doesn't change and thus the text is no longer centered.
0.84b2: Draw tool: Alignment when changing font size
Moderators: XnTriq, helmut, xnview, Dreamer
-
- Posts: 8705
- Joined: Sun Oct 12, 2003 6:47 pm
- Location: Frankfurt, Germany
-
- Author of XnView
- Posts: 44355
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: 0.84b2: Draw tool: Alignment when changing font size
you means that the text position need to change so center is not changed, right?
Pierre.
-
- Posts: 8705
- Joined: Sun Oct 12, 2003 6:47 pm
- Location: Frankfurt, Germany
Re: 0.84b2: Draw tool: Alignment when changing font size
Right. When changing a centered text the text is supposed to remain centered to itself (multiline text) and centered to its position.xnview wrote:you means that the text position need to change so center is not changed, right?
-
- Author of XnView
- Posts: 44355
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: 0.84b2: Draw tool: Alignment when changing font size
will be fixed in beta 3helmut wrote:Right. When changing a centered text the text is supposed to remain centered to itself (multiline text) and centered to its position.xnview wrote:you means that the text position need to change so center is not changed, right?
Pierre.
-
- Posts: 8705
- Joined: Sun Oct 12, 2003 6:47 pm
- Location: Frankfurt, Germany
Re: 0.84b2: Draw tool: Alignment when changing font size
Not fixed in 0.84 beta3:
When changing font size the text box doesn't grow/shrink in the right manner:
- Right aligned text should grow/shrink without changing the most right position.
- Left aligned text should grow/shrink without changing the most left position.
- Centered text should grow/shrink without changing the centered position.
When changing font size the text box doesn't grow/shrink in the right manner:
- Right aligned text should grow/shrink without changing the most right position.
- Left aligned text should grow/shrink without changing the most left position.
- Centered text should grow/shrink without changing the centered position.
-
- Author of XnView
- Posts: 44355
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: 0.84b2: Draw tool: Alignment when changing font size
this one works right?helmut wrote: - Centered text should grow/shrink without changing the centered position.
Pierre.
-
- Posts: 8705
- Joined: Sun Oct 12, 2003 6:47 pm
- Location: Frankfurt, Germany
Re: 0.84b2: Draw tool: Alignment when changing font size
Yes, for the centered position this works fine (the text remains centered both vertically and horizontally).xnview wrote:this one works right?helmut wrote: - Centered text should grow/shrink without changing the centered position.
-
- Author of XnView
- Posts: 44355
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: 0.84b2: Draw tool: Alignment when changing font size
i'll change for a future version the 2 others..
Pierre.