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:
parent
532e0090fc
commit
ca90a2029d
9 changed files with 7 additions and 8 deletions
|
@ -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();
|
||||
};
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
name: "formula_editor"
|
||||
fixed_height: 25
|
||||
tooltip: "Use 'value' to refer to the current cell's value"
|
||||
font_type: "FixedWidth"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue