arcade icon indicating copy to clipboard operation
arcade copied to clipboard

Fix https://github.com/pythonarcade/arcade/issues/1839[WIP]

Open gran4 opened this issue 2 years ago • 2 comments

It seems like there is a problem unrelated to my code that is breaking the tests. Do not merge, there is an on going conversation on whether this was removed because it broke something.

gran4 avatar Aug 07 '23 03:08 gran4

Related to this? https://github.com/pythonarcade/arcade/issues/1839

einarf avatar Feb 18 '24 11:02 einarf

Hi,

there is an issue with the UI.

UILabel often gets its real width during the layout phase, which means it has no initial width given. Still setting align=center will effect the text position after the layout phase and center the text.

Also from my point of view it makes no sense, to enforce multiline based on the alignment. Also it overwrites the given value, which feels unintuitive from my point of view.

eruvanos avatar Feb 19 '24 19:02 eruvanos

Update: I will remove the multiline overwrites when align set !=left in all arcade.text areas. While align might not have an effect without multiline, the given multiline value should not be overwritten by some magic.

eruvanos avatar Feb 27 '24 11:02 eruvanos