diff options
author | Saturneric <[email protected]> | 2021-12-06 15:58:23 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-12-06 15:58:43 +0000 |
commit | 97d13004e4f1cb33941a9be57c7e7662e223890b (patch) | |
tree | 6bf2466046379fd8ac2a0e9ca3605e15dce4672d /src/ui/widgets/InfoBoardWidget.cpp | |
parent | Merge branch 'develop' of github.com:saturneric/GpgFrontend into develop-ci (diff) | |
download | GpgFrontend-97d13004e4f1cb33941a9be57c7e7662e223890b.tar.gz GpgFrontend-97d13004e4f1cb33941a9be57c7e7662e223890b.zip |
Improve UI & Functions
Diffstat (limited to 'src/ui/widgets/InfoBoardWidget.cpp')
-rw-r--r-- | src/ui/widgets/InfoBoardWidget.cpp | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/ui/widgets/InfoBoardWidget.cpp b/src/ui/widgets/InfoBoardWidget.cpp index 0f3a1f74..2409edd7 100644 --- a/src/ui/widgets/InfoBoardWidget.cpp +++ b/src/ui/widgets/InfoBoardWidget.cpp @@ -49,19 +49,22 @@ InfoBoardWidget::InfoBoardWidget(QWidget* parent, KeyList* keyList) auto* actionButtonMenu = new QWidget(); actionButtonMenu->setContentsMargins(0, 0, 0, 0); actionButtonMenu->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Minimum); - actionButtonMenu->setFixedHeight(36); + actionButtonMenu->setFixedHeight(40); actionButtonLayout = new QHBoxLayout(); - actionButtonLayout->setContentsMargins(5, 5, 5, 5); + actionButtonLayout->setContentsMargins(0, 0, 0, 0); actionButtonLayout->setSpacing(0); - actionButtonMenu->setLayout(actionButtonLayout); - auto label = new QLabel(_("Optional Actions")); + auto* label = new QLabel(_("Board Actions")); label->setSizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum); label->setContentsMargins(0, 0, 0, 0); + mButtonGroup = new QButtonGroup(this); - actionButtonLayout->addWidget(label); + auto* bottom_layout = new QHBoxLayout(this); + bottom_layout->addWidget(label); actionButtonLayout->addStretch(); + bottom_layout->addLayout(actionButtonLayout); + actionButtonMenu->setLayout(bottom_layout); QFrame* line; line = new QFrame(this); |