Allow GenericBox to have no content margins.

This commit is contained in:
John Preston 2019-10-19 16:07:02 +04:00
parent e4b23cad1b
commit 0dba641451

View file

@ -17,7 +17,7 @@ extern const style::margins &boxRowPadding;
namespace Ui {
class GenericBox : public BoxContent {
class GenericBox final : public BoxContent {
public:
// InitMethod::operator()(not_null<GenericBox*> box, InitArgs...)
// init(box, args...)
@ -77,6 +77,8 @@ public:
}
}
using BoxContent::setNoContentMargin;
protected:
void prepare() override;