Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change the font for the gender field? #469

Open
Tim77277 opened this issue Sep 8, 2017 · 1 comment
Open

How to change the font for the gender field? #469

Tim77277 opened this issue Sep 8, 2017 · 1 comment

Comments

@Tim77277
Copy link

Tim77277 commented Sep 8, 2017

For the normal textfield, i was able to change the font and color by using

"textLabel.textColor": textFieldTheme.color, "textLabel.font": labelTheme.font, "textField.font": textFieldTheme.font, "textField.textColor": textFieldTheme.color

But when I tried to change the font for gender field, it says that the gender field doesn't have a key call textField. In this case is there any way that i can still change the font and color for the selected gender that is displayed?

@ChrislosChen
Copy link

ChrislosChen commented Oct 6, 2017

the font for gender field,i found that this cell is kind of FXFormDefaultCell,and then you can config the cell in the - (NSArray *)fields method like this :
@{FXFormFieldKey: @"gender", FXFormFieldOptions: @[@"Male", @"Female", @"It's Complicated"],
@"detailTextLabel.font": [UIFont systemFontOfSize:12]} . In this way you can change the font and color for the selected gender that is displayed,@Tim77277

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants