SoftwarePanel: fix padding (#21237)

old-commit-hash: d09c1de0ec2d89581004bc2c918f98318080c5c0
This commit is contained in:
Dean Lee
2021-06-12 08:40:21 +08:00
committed by GitHub
parent 5f3712d340
commit 842dabcff7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -203,7 +203,7 @@ DevicePanel::DevicePanel(QWidget* parent) : QWidget(parent) {
)");
}
SoftwarePanel::SoftwarePanel(QWidget* parent) : QFrame(parent) {
SoftwarePanel::SoftwarePanel(QWidget* parent) : QWidget(parent) {
QVBoxLayout *main_layout = new QVBoxLayout(this);
setLayout(main_layout);
setStyleSheet(R"(QLabel {font-size: 50px;})");
+1 -1
View File
@@ -30,7 +30,7 @@ public:
explicit TogglesPanel(QWidget *parent = nullptr);
};
class SoftwarePanel : public QFrame {
class SoftwarePanel : public QWidget {
Q_OBJECT
public:
explicit SoftwarePanel(QWidget* parent = nullptr);