Xamarin.Forms.InputKit
Xamarin.Forms.InputKit copied to clipboard
Trying to increase the height of the control
I tried to increase the height of the radio button just for pure example as below but then it disappears of the screen?.
<input:RadioButtonGroupView x:Name="rbNotiationType">
<input:RadioButton Text="+" HeightRequest="20" Scale="10" x:Name="rbPostive" />
<input:RadioButton Text="-" HeightRequest="20" Scale="10" x:Name="rbNegative" />
</input:RadioButtonGroupView>
Hi @davidbuckleyni You should try increasing size of circle and font via using CircleSize and TextFontSize instead of using Scale and HeightRequest:
<input:RadioButtonGroupView x:Name="rbNotiationType">
<input:RadioButton Text="+" CircleSize="20" TextFontSize="16" x:Name="rbPostive" />
<input:RadioButton Text="-" CircleSize="20" TextFontSize="16" x:Name="rbNegative" />
</input:RadioButtonGroupView>
Or if you want to increase only line height without resizing componenets, jsut give a little bit padding:
<input:RadioButtonGroupView x:Name="rbNotiationType">
<input:RadioButton Text="+" Padding="5,25" x:Name="rbPostive" />
<input:RadioButton Text="-" Padding="5,25" x:Name="rbNegative" />
</input:RadioButtonGroupView>
This will increase line height, radiobuttons will stay far from each other. Or you can use Spacing property of RadioButtonGroupView.
I'm trying to increase the height of the advance input by using HeighRequest, however, it is increasing it at all. Should we increase the height with a different property? I would like to set a specific height only.