mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:58:11 +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:
parent
702dd0ca55
commit
d8ab9ed87c
11 changed files with 38 additions and 24 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue