rds1983 / Myra

UI Library for MonoGame, FNA and Stride
MIT License
704 stars 94 forks source link

Is it possible to reverse the order of horizontal stack panels, and make then go right-to-left? #394

Open V414 opened 11 months ago

V414 commented 11 months ago

I've been working with Myra on a game I'm making, and so far having a really good experience with the many UI elements. However, for the life of me, I can't work out how to change a HorizontalStackPanel to order its child elements right to left, leaving the empty space on the left hand side instead.

For example:

Myra stack issue 1

And here is the code being used for that menu:

Myra stack issue 2

Am I missing a simple way to accomplish this? (Thanks!)