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:

enter image description here

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

Popular posts from this blog

Email notification in google apps script -

c++ - Difference between pre and post decrement in recursive function argument -

javascript - IE11 incompatibility with jQuery's 'readonly'? -