As you have set the StackPanel
's orientation to Horizontal
, the HorizontalAlignment
property won't work on child-elements. You can keep the StackPanel
if you need additional controls, though I would recommend switching to a Grid
(among other things) to build the layout you want.
Also, the Grid
will allow you to control the actual width of each column:
<Grid><Grid.ColumnDefinitions><ColumnDefinition Width="50" /><ColumnDefinition Width="150" /></Grid.ColumnDefinitions><RadioButton Grid.Column="0" ... /><Label Grid.Column="1" ... /></Grid>