DataForm Options Selected Font Color

4 posts, 0 answers
  1. Tracy
    Tracy avatar
    7 posts
    Member since:
    Aug 2014

    Posted 06 Jul Link to this post

    When using the options editor, the selected item is in a light grey; how can I change the text color?
  2. Adrian
    Admin
    Adrian avatar
    167 posts

    Posted 08 Jul Link to this post

    Hello, Tracy,

    Thank you for writing. 
    You can use the selectedOptionLabel text color to whatever color suits your needs. Consider the code below:
    (editor as! TKDataFormOptionsEditor).selectedOptionLabel.textColor = UIColor.whiteColor()
    I hope this helps.

    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
  3. DevCraft banner
  4. Tracy
    Tracy avatar
    7 posts
    Member since:
    Aug 2014

    Posted 12 Jul in reply to Tracy Link to this post

    That didn't work. Attached is a screenshot.
  5. Todor
    Admin
    Todor avatar
    778 posts

    Posted 15 Jul Link to this post

    Hi Tracy,

    You can see from the attached screenshot how using this approach Adrian suggested, we have successfully changed the color to white in our sample applications for the properties Section and Table.

    Source code is available here:
     - in Objective-C
     - in Swift

    I hope this information helps. Don't hesitate to get back to us if you need further assistance.

    Regards,
    Todor
    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
DevCraft banner