mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:57:35 +00:00
LibGUI: Move GUI::SeparatorWidget from ToolBar.cpp to its own file
This makes this nice line separator widget usable outside toolbars. Also support both horizontal and vertical orientation. :^)
This commit is contained in:
parent
2dc09d1cd7
commit
5b1a6d7c66
5 changed files with 115 additions and 22 deletions
|
@ -58,6 +58,7 @@ private:
|
|||
RefPtr<Action> action;
|
||||
};
|
||||
NonnullOwnPtrVector<Item> m_items;
|
||||
const Gfx::Orientation m_orientation;
|
||||
int m_button_size { 16 };
|
||||
bool m_has_frame { true };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue