Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sizing the radiobutton

Tags:

I have some radiobuttons in an app that works with touch. Because the end-user can have thick fingers, I want to make the circle and text int he radiobutton bigger.

Problem is, I can only make the text bigger, not the circle in the radiobutton.

<RadioButton  VerticalAlignment="Center" x:Name="rbtnContainers" Click="SetContainers" FontSize="18">Containers</RadioButton> 

Using height doesn't work either. It makes the radiobutton bigger, but the circle remains the same.

Any hint or answer is appreciated.

like image 293
Kjell Derous Avatar asked Jul 22 '13 14:07

Kjell Derous


1 Answers

This should work for you.

<Viewbox Height="40">      <RadioButton></RadioButton> </Viewbox> 

another alternative is to write your own ControlTemplate for the RadioButton and change its appearance as you want.

like image 149
Nitesh Avatar answered Sep 19 '22 13:09

Nitesh