Loading...
Searching...
No Matches
MarginLess.hpp
1#pragma once
2
3#include <QWidget>
4
5namespace score
6{
12template <typename Layout>
13class MarginLess final : public Layout
14{
15public:
16 MarginLess(QWidget* widg)
17 : Layout{widg}
18 {
19 this->setContentsMargins(0, 0, 0, 0);
20 this->setSpacing(4);
21 widg->setLayout(this);
22 }
24 {
25 this->setContentsMargins(0, 0, 0, 0);
26 this->setSpacing(4);
27 }
28};
29}
The MarginLess class.
Definition MarginLess.hpp:14
Base toolkit upon which the software is built.
Definition Application.cpp:90