1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 18:17:45 +00:00

Everywhere: Change font properties to be described in GML

This commit is contained in:
Edgar Araújo 2021-03-23 16:59:18 +00:00 committed by Andreas Kling
parent 532e0090fc
commit ca90a2029d
9 changed files with 7 additions and 8 deletions

View file

@ -427,7 +427,6 @@ ConditionView::ConditionView(ConditionalFormat& fmt)
formula_editor.set_syntax_highlighter(make<JS::SyntaxHighlighter>());
formula_editor.set_should_hide_unnecessary_scrollbars(true);
formula_editor.set_font(&Gfx::FontDatabase::default_fixed_width_font());
formula_editor.on_change = [&] {
m_format.condition = formula_editor.text();
};

View file

@ -15,6 +15,7 @@
name: "formula_editor"
fixed_height: 25
tooltip: "Use 'value' to refer to the current cell's value"
font_type: "FixedWidth"
}
}