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

Right hand side label size to fit

1 Answer 17 Views
DataForm
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ryan
Top achievements
Rank 1
Ryan asked on 10 Aug 2016, 10:14 PM
How can I access the right hand side label of the TKDataForm so that I can make it size to fit when it is really long? I am displaying quantities and I wanted to make it so the label automatically scales down the font or something when it does not fit.

1 Answer, 1 is accepted

Sort by
0
Adrian
Telerik team
answered on 15 Aug 2016, 02:27 PM
Hello, Ryan,

Thank you for writing.

Since you need to access the label on the right I assume that you are using either a subclass of TKDataFormInlineEditor or TKDataFormOptionsEditor. If you are using inline editor you can access the label through its editorValueLabel property. If it is options editor you can access the label through selectedOptionLabel property.

Regards,
Adrian
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
DataForm
Asked by
Ryan
Top achievements
Rank 1
Answers by
Adrian
Telerik team
Share this question
or