This is a migrated thread and some comments may be shown as answers.

How to programmatically change the button sizes on a RadSpinEditor

2 Answers 25 Views
SpinEditor
This is a migrated thread and some comments may be shown as answers.
Gone2TheDogs
Top achievements
Rank 1
Veteran
Gone2TheDogs asked on 16 May 2018, 02:05 PM

I found a thread on how to set the RadSpinEditor buttons size using the designer, but I haven't been able to get it to work programmatically..

radSpinTest.SpinElement.ButtonUp.MinSize.Width = 45   <---  this doesn't work because it's a readonly property

Any help would be greatly appreciated.

Thanks!

 

2 Answers, 1 is accepted

Sort by
0
Gone2TheDogs
Top achievements
Rank 1
Veteran
answered on 16 May 2018, 02:36 PM

I don't see a way to remove my thread after solving it myself, but here is the answer:

spinTest.SpinElement.ButtonUp.MinSize = New System.Drawing.Size(50, 25)
spinTest.SpinElement.ButtonDown.MinSize = New System.Drawing.Size(50, 25)

 

0
Dimitar
Telerik team
answered on 17 May 2018, 12:19 PM
Hi Bob,

I am glad that you have found a solution. Do not hesitate to contact us if you have other questions.
 
Regards,
Dimitar
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
SpinEditor
Asked by
Gone2TheDogs
Top achievements
Rank 1
Veteran
Answers by
Gone2TheDogs
Top achievements
Rank 1
Veteran
Dimitar
Telerik team
Share this question
or