mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:57:44 +00:00
Browser: Set tab text alignment from JSON GUI
This commit is contained in:
parent
e78cf6c590
commit
1307f7292c
2 changed files with 2 additions and 2 deletions
|
@ -138,7 +138,6 @@ int main(int argc, char** argv)
|
|||
widget.load_from_json(browser_window_ui_json);
|
||||
|
||||
auto& tab_widget = static_cast<GUI::TabWidget&>(*widget.find_descendant_by_name("tab_widget"));
|
||||
tab_widget.set_text_alignment(Gfx::TextAlignment::CenterLeft);
|
||||
|
||||
auto default_favicon = Gfx::Bitmap::load_from_file("/res/icons/16x16/filetype-html.png");
|
||||
ASSERT(default_favicon);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue