Can't reduce the width of radio buttons
I have a windows phone project and I cannot resize the width of the radio button. What pushes my screen textblock
. Here is my Xaml code:
<StackPanel x:Name="spRadioSelection" Orientation="Horizontal" Margin="0,100" HorizontalAlignment="Stretch">
<TextBlock Text="Staging" FontSize="24" Margin="30,20"></TextBlock>
<RadioButton x:Name="rbStaging" GroupName="ProductionLevel" IsChecked="true" Checked="SelectionChangedHandler" Width="68"/>
<RadioButton x:Name="rbLive" GroupName="ProductionLevel" IsChecked="false" Checked="SelectionChangedHandler"></RadioButton>
<TextBlock Text="Live" FontSize="32" Margin="30,20"></TextBlock>
</StackPanel>
And it looks like this:
+3
source to share