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

修改字体无效 #404

Open
HeMa321 opened this issue Apr 1, 2020 · 1 comment
Open

修改字体无效 #404

HeMa321 opened this issue Apr 1, 2020 · 1 comment

Comments

@HeMa321
Copy link

HeMa321 commented Apr 1, 2020

image

Picker.init({ pickerBg: [255, 255, 255, 1], pickerConfirmBtnColor: [82, 115, 255, 1], pickerCancelBtnColor: [82, 115, 255, 1], pickerData: data, selectedValue: selectedValue, pickerTitleText: title, pickerRowHeight: 60, pickerToolBarFontSize: 20, pickerFontSize: 26, pickerConfirmBtnText: 'OK', pickerCancelBtnText: 'CANCEL', //确定

我这样设置了 不管pickerFontSize设置25还是50,这个字体大小还是一样,请教下 android ios字体应该怎么设置?

@ajaxsys
Copy link

ajaxsys commented Sep 21, 2020

请试着加上字体:

pickerFontFamily: isIOS ? 'System Font' : 'Roboto-Regular',

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