Make GenericBox vertical-layout available outside.
This commit is contained in:
parent
1b673b7e40
commit
c96119dcd1
2 changed files with 6 additions and 0 deletions
|
|
@ -25,4 +25,8 @@ void GenericBox::addSkip(int height) {
|
|||
addRow(object_ptr<Ui::FixedHeightWidget>(this, height));
|
||||
}
|
||||
|
||||
not_null<Ui::VerticalLayout*> GenericBox::verticalLayout() {
|
||||
return _content.data();
|
||||
}
|
||||
|
||||
} // namespace Ui
|
||||
|
|
|
|||
|
|
@ -77,6 +77,8 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] not_null<Ui::VerticalLayout*> verticalLayout();
|
||||
|
||||
using BoxContent::setNoContentMargin;
|
||||
|
||||
protected:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue