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

Set button text in dp #6443

Merged
merged 2 commits into from
Jul 30, 2020
Merged

Set button text in dp #6443

merged 2 commits into from
Jul 30, 2020

Conversation

guyca
Copy link
Collaborator

@guyca guyca commented Jul 29, 2020

TopBar button text broke in 6.5.0 and instead of being applied in sp it was applied in pixels. This made if seem like the fontSize option didn't work. This commit fixes the problem and also sets button fontSize in dp so it won't increase too much if users change font size settings in their device.

closes #6405

TopBar button text broke in 6.5.0 and instead of being applied in sp it was applied in pixels. This made if seem like the fontSize option didn't work. This commit fixes the problem and also sets button fontSize in dp so it won't increase too much if users change font size settings in their device.
closes #6405
@yogevbd yogevbd merged commit 8d1309f into master Jul 30, 2020
@yogevbd yogevbd deleted the setButtonTextInDp branch July 30, 2020 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support 'fontSize' on OptionsTopBarButton
2 participants