无法降低单选按钮宽度

Mr.*_*ome 3 xaml radio-button windows-phone-8.1

我有一个Windows Phone项目,我无法调整单选按钮的宽度.这是推动我的textblock屏幕.这是我的Xaml代码:

<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>
Run Code Online (Sandbox Code Playgroud)

它看起来像这样:

在此输入图像描述

SWi*_*lko 8

你可以改变MinWidth而不是Width

 <RadioButton x:Name="rbStaging" GroupName="ProductionLevel"  
                 IsChecked="true" Checked="SelectionChangedHandler" MinWidth="68" />
Run Code Online (Sandbox Code Playgroud)

可能还需要减少TextBlock上的边距.希望有所帮助