mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:28:12 +00:00
GGroupBox: Allow constructing these without an initial text.
This commit is contained in:
parent
25e3d46502
commit
974c0f97b8
2 changed files with 6 additions and 0 deletions
|
@ -2,6 +2,11 @@
|
|||
#include <LibGUI/GPainter.h>
|
||||
#include <SharedGraphics/StylePainter.h>
|
||||
|
||||
GGroupBox::GGroupBox(GWidget* parent)
|
||||
: GGroupBox({}, parent)
|
||||
{
|
||||
}
|
||||
|
||||
GGroupBox::GGroupBox(const StringView& title, GWidget* parent)
|
||||
: GWidget(parent)
|
||||
, m_title(title)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue