Hi, I’m facing a very fundamental problem with the code below… My 4 buttons take up the MinWidth value regardless of my screen width, and if I remove MinWidth, it doesn’t care about the ‘Width=“25%”’. This problem seems to only affect when using percentages… Any ninjas willing to help a noob? ^^
Thanks!
<StackPanel Orientation="Horizontal">
<Style>
<Button MinWidth="10" Width="25%" />
</Style>
<Button Text="1" />
<Button Text="2" />
<Button Text="3" />
<Button Text="4" />
</StackPanel>