Replies: 2 comments
-
Your |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi i am currently struggling to understand how to easily achieve this. I need 2 or more buttons to be stretched in StackPanel. I tried to use HorizontalAlignment="Stretch" however it anything in stackpanel wont be stretched to remaining space.
With this simple xaml:
I get this:

As i said, doesnt matter if its border or rectangle ether. Nothing gets stretched in the stacj panel even if the stackpanel itself is stretched.
Is that intended behavior?
The reason why i need it like this is that when one of the buttons are not visible it will stretch automatically the rest.
Beta Was this translation helpful? Give feedback.
All reactions