mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:27:43 +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
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