mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-12 20:42:21 +00:00
LibGUI: Add direct property for fixed-width font
There's the "font_type" property which currently only handles fixed-width yes/no, so until we get a proper font type enum and associated enum property, this is better to use from GML instead of a special case in the GML compiler.
This commit is contained in:
parent
bb471451e0
commit
2e46e33a9b
Notes:
sideshowbarker
2024-07-17 02:14:39 +09:00
Author: https://github.com/kleinesfilmroellchen
Commit: 2e46e33a9b
Pull-request: https://github.com/SerenityOS/serenity/pull/20523
Reviewed-by: https://github.com/ADKaster
2 changed files with 7 additions and 0 deletions
|
@ -295,6 +295,7 @@ public:
|
|||
void set_font_size(unsigned);
|
||||
void set_font_weight(unsigned);
|
||||
void set_font_fixed_width(bool);
|
||||
bool is_font_fixed_width();
|
||||
|
||||
void notify_layout_changed(Badge<Layout>);
|
||||
void invalidate_layout();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue