Classic Castbars

Classic Castbars

18M Downloads

Spell Text Anchor point

Eurymachus opened this issue ยท 6 comments

commented

Is your feature request related to a problem? No

Describe the solution or feature you'd like:
The anchor point (alignment) of text at the moment is centered, so when moving text to the left or right within a casting bar text grows outside the bar.

If we allow the anchor point of spell text to be set left, right or center the text can grow from those points. This will enable the placement of text to the left, right or center of a cast bar preventing text from growing outside the bar when placed relative.

Any additional context: N/A

commented

Sure, will add in next release.

commented

Added now.

commented

Hey Wardz! Thanks for your work so far. Just did some testing and the text anchor/align doesn't seem to work as intended.
Setting the alignment to the 'LEFT' the text should grow from the left, but as you can see the text still changes position and is not aligned correctly.
image
image

commented

So below is the 'CENTERED' option;
image
Below is the 'LEFT' option;
image
This is when 'X' = 0.
What should happen when setting the anchor point is that the text 'grows' from the 0 point of 'X' so it should look more like this;
image
Then no matter the length of the text it would always grow from the 'X' point.
Sorry for the crudeness of the image.

commented

Ah I see. Will take another look at it when I get home from vacation (2~ weeks)

commented

Try v1.3.10