telerikInput:RadNumericInput - Plus/Minus buttons are big

1 Answer 58 Views
NumericInput
Daniel
Top achievements
Rank 1
Silver
Bronze
Daniel asked on 16 Mar 2022, 04:16 PM

Hi,

Why plus and minus are so big?

 


   <telerikInput:RadNumericInput x:Name="numericInputRecursEvery" Value="{Binding SelectRecursEvery , Mode=TwoWay}" Minimum="0" HorizontalOptions="CenterAndExpand" VerticalOptions="CenterAndExpand" WidthRequest="200" Margin="5"/>
                    

Mike
Top achievements
Rank 1
commented on 01 May 2024, 02:24 AM

I agree! I find this control so ugly on android it's unbelievable.  How can we style the + and - buttons so they look nice?  It seems to ignore BackgroundColour compeltely and we just get the big ugly grey buttons.

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 01 May 2024, 12:58 PM

Hello,

The NumericInput is fully customizable - you can take its ControlTemplate and modify the increase/decrease buttons' appearance without a problem. The approach is explained in the following documentation topic: NumericInput: ControlTemplate -  as you can see in the topic, the NumericInput has a separate ControlTemplate for Android/iOS, Windows and MacCatalyst.

I've also attached a sample app to show you how exactly this works - I've modified the font size and the background of the buttons (the default settings are commented). Please download the app and give it a try.

I hope I was of help.

Regards,
Yana
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Mike
Top achievements
Rank 1
commented on 01 May 2024, 10:58 PM | edited

Thanks so much Yana - I had search for info on doing this but for some reason did not find that page.  Thanks for the sample as well, I've played around with it and got a style that looks much better.
Tags
NumericInput
Asked by
Daniel
Top achievements
Rank 1
Silver
Bronze
Answers by
Yana
Telerik team
Share this question
or