Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@kkoreilly
Copy link
Member

This PR makes the text element of a button automatically have the font size of the button itself, which makes it much easier to customize. It also makes line height expressed in terms of em instead of dp, which makes it automatically scale based on font size and thus removes the need for manually changing line height when changing font size. I will document this behavior on the website within the next few days.

Fixes #1313 and fixes #1150

@rcoreilly rcoreilly merged commit ef1e752 into main Nov 25, 2024
1 check passed
@rcoreilly rcoreilly deleted the text-size branch November 25, 2024 02:04
@kkoreilly kkoreilly mentioned this pull request Jan 5, 2025
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

Successfully merging this pull request may close these issues.

Button Text Sizing is Awkward Button style font size did not have effect. how to set default font size for all.

3 participants