mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-03 04:22:09 +08:00
SoftwarePanel: fix padding (#21237)
old-commit-hash: d09c1de0ec2d89581004bc2c918f98318080c5c0
This commit is contained in:
@@ -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;})");
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user