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

DataForm Options Selected Font Color

3 Answers 41 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.
Tracy
Top achievements
Rank 1
Tracy asked on 06 Jul 2016, 08:51 PM
When using the options editor, the selected item is in a light grey; how can I change the text color?

3 Answers, 1 is accepted

Sort by
0
Adrian
Telerik team
answered on 08 Jul 2016, 08:33 AM
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
0
Tracy
Top achievements
Rank 1
answered on 12 Jul 2016, 11:18 PM
That didn't work. Attached is a screenshot.
0
Todor
Telerik team
answered on 15 Jul 2016, 02:55 PM
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
Tags
DataForm
Asked by
Tracy
Top achievements
Rank 1
Answers by
Adrian
Telerik team
Tracy
Top achievements
Rank 1
Todor
Telerik team
Share this question
or