Right hand side label size to fit

Thread is closed for posting
2 posts, 0 answers
  1. Ryan
    Ryan avatar
    39 posts
    Member since:
    Jun 2016

    Posted 10 Aug 2016 Link to this post

    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.
  2. Adrian
    Adrian avatar
    174 posts

    Posted 15 Aug 2016 Link to this post

    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.

    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
Back to Top