I am trying to right-align my table cells.
I have set 'Semantic' property to 'Force Right-to-Left' value through the whole visual tree.
Desired layout:
Visual tree:
There aren't any visual definitions in code...
EDIT:
After @dirtydanee suggestion:
For your stack view you should have alignment
set to Leading
to make it start at the leading position for your language, which is the right most side for you. Then you set Semantic
to Force Right-to-Left
.
It is important that you have tied the stack views edges to it's container's edges, so that the stack view will size to it's container. It is also important that you let the labels have dynamic size. Both of these conditions seems to be met in your code, although it is not entirely clear.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With