mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 15:16:14 +00:00
LibGfx+Userland: Remove dependency on GUI::TabWidget from StylePainter
Move TabPosition into its own file, and using it into the global namespace the same way we do for Gfx::Orientation. This unbreaks the gn build, and out of tree builds.
This commit is contained in:
committed by
Andrew Kaster
parent
702dd0ca55
commit
d8ab9ed87c
@@ -1371,7 +1371,7 @@ ErrorOr<void> HackStudioWidget::create_action_tab(GUI::Widget& parent)
|
||||
void HackStudioWidget::create_project_tab(GUI::Widget& parent)
|
||||
{
|
||||
m_project_tab = parent.add<GUI::TabWidget>();
|
||||
m_project_tab->set_tab_position(GUI::TabWidget::TabPosition::Bottom);
|
||||
m_project_tab->set_tab_position(TabPosition::Bottom);
|
||||
|
||||
auto& tree_view_container = m_project_tab->add_tab<GUI::Widget>("Files"_string);
|
||||
tree_view_container.set_layout<GUI::VerticalBoxLayout>(GUI::Margins {}, 2);
|
||||
|
||||
Reference in New Issue
Block a user