diff --git a/ui/layers/generic_box.h b/ui/layers/generic_box.h index 9dce70c..90158f8 100644 --- a/ui/layers/generic_box.h +++ b/ui/layers/generic_box.h @@ -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 box, InitArgs...) // init(box, args...) @@ -77,6 +77,8 @@ public: } } + using BoxContent::setNoContentMargin; + protected: void prepare() override;