Replace the f32 font_size value of TextStyle with a FontSize enum
Open
A-UI
C-Feature
D-Modest
S-Ready-For-Implementation
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 171
Description
## What problem does this solve or what need does it fill?
Replacing the `font_size` field of `TextStyle` with an enum similar to Bevy UI's `Val` type would enable users to set responsive font sizes that depend on the size of the viewport or the text's parent container.
## What solution would you like?
#9524
Contributor guide
Research direction
Read the referenced issue #9524 first, then locate TextStyle and the existing font_size uses. The issue names no files or tests; done means replacing the f32 value with a FontSize enum that supports sizes responsive to the viewport or parent container.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- game-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100