Add editor font size settings#911
Conversation
2bf7e3c to
caa8397
Compare
be386ca to
d8778d3
Compare
c2910a2 to
6c5a62c
Compare
|
I'm not quite sure why there's a need to add this huge heap of additional methods. What I'd do is to just modify standard style's variable and called For places that has different font size, I'd just add a separate style variable, specific to the place where it belongs. Then it can be modified and To proportionally change the font size for every styled variable I'd change the type of Of course, I might be missing some issues. Let's discuss this. |
…mattedText, added style update to Text and TextBox, boilerplate work - Every Text/TextBox widget in editor/ now explicitly uses `Editor::UI_FONT_SIZE` instead of the default `Style::FONT_SIZE`
- `pub fn build_and_open() moved from FolderNameDialog to FolderNameDialogBuilder
- `InspectorContext` and other "context" structs now carry explicit font/font_size values - Method calls now have to explicitly set font/font_size data
- Changed helper functions to also take font/font_size - Builders now have font/font_size fields
fb8a730 to
40973cc
Compare
|
@mrDIMAS Created a Discussion thread #915 , with replies to feedback #915 (comment) . |
Closes #910
Description
Add options for configuring font size in Editor UI.
Progress
font_sizeoption to Settings Window -> Generalfont_sizeoptionsettings.ronReview Guidance
Buildersnow have the following fields and methods:Buildernow explicitly calls thewith_font()andwith_font_size()methodsScreenshots/GIFs
WIP
Checklist