xaml - Can't lower Radio Button Width -
i have windows phone project , can't resize radio button width. pushing textblock off screen. here 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 looks this:

you can change minwidth rather width
<radiobutton x:name="rbstaging" groupname="productionlevel" ischecked="true" checked="selectionchangedhandler" minwidth="68" /> probably need reduce margins on textblock well. hope helps
Comments
Post a Comment