mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibGUI: Move Icon and FontDatabase into the GUI namespace
We also clean up some old references to the old G prefixed GUI classes This also fixes a potential bug with using: C_OBJECT_ABSTRACT(GAbstractButton) instead of C_OBJECT_ABSTRACT(AbstractButton)
This commit is contained in:
parent
57f1c919df
commit
6a3b12664a
Notes:
sideshowbarker
2024-07-19 08:51:30 +09:00
Author: https://github.com/shannonbooth
Commit: 6a3b12664a
Pull-request: https://github.com/SerenityOS/serenity/pull/1370
24 changed files with 120 additions and 104 deletions
|
@ -56,7 +56,7 @@ TextEditor::TextEditor(Type type)
|
|||
set_foreground_role(ColorRole::BaseText);
|
||||
set_document(TextDocument::create());
|
||||
set_scrollbars_enabled(is_multi_line());
|
||||
set_font(GFontDatabase::the().get_by_name("Csilla Thin"));
|
||||
set_font(FontDatabase::the().get_by_name("Csilla Thin"));
|
||||
// FIXME: Recompute vertical scrollbar step size on font change.
|
||||
vertical_scrollbar().set_step(line_height());
|
||||
m_cursor = { 0, 0 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue