mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 04:07:46 +00:00
Everywhere: Change font properties to be described in GML
This commit is contained in:
parent
532e0090fc
commit
ca90a2029d
9 changed files with 7 additions and 8 deletions
|
@ -42,7 +42,6 @@ CalculatorWidget::CalculatorWidget()
|
|||
m_entry = *find_descendant_of_type_named<GUI::TextBox>("entry_textbox");
|
||||
m_entry->set_relative_rect(5, 5, 244, 26);
|
||||
m_entry->set_text_alignment(Gfx::TextAlignment::CenterRight);
|
||||
m_entry->set_font(Gfx::FontDatabase::default_fixed_width_font());
|
||||
|
||||
m_label = *find_descendant_of_type_named<GUI::Label>("label");
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
|
||||
@GUI::TextBox {
|
||||
name: "entry_textbox"
|
||||
font_type: "FixedWidth"
|
||||
}
|
||||
|
||||
@GUI::Widget {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue