diff options
author | Katja Marttila <katja.marttila@qt.io> | 2019-09-24 10:19:30 +0300 |
---|---|---|
committer | Katja Marttila <katja.marttila@qt.io> | 2019-10-30 08:14:52 +0000 |
commit | 64e656846eb11be5aef4ee729ac83e37bd40f207 (patch) | |
tree | 45f8c94880059a07b558152a2efcdc67edea42bd /src/libs/installer/componentselectionpage_p.h | |
parent | 7dd35b336fbaa78e5f3b347c5e1875743d146fb0 (diff) |
Use grid layout in component selection page
The layout in component selection page looked bad, especially in macOS
with dark mode as the widgets were not aligned properly vertically.
Task-number: QTIFW-1334
Change-Id: I718b7eaded78906027ce227671e955afda50c264
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
Reviewed-by: Antti Kokko <antti.kokko@qt.io>
Diffstat (limited to 'src/libs/installer/componentselectionpage_p.h')
-rw-r--r-- | src/libs/installer/componentselectionpage_p.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libs/installer/componentselectionpage_p.h b/src/libs/installer/componentselectionpage_p.h index 6169a06f5..591cd08f7 100644 --- a/src/libs/installer/componentselectionpage_p.h +++ b/src/libs/installer/componentselectionpage_p.h @@ -44,6 +44,7 @@ class QListWidgetItem; class QProgressBar; class QVBoxLayout; class QHBoxLayout; +class QGridLayout; namespace QInstaller { @@ -98,7 +99,7 @@ private: QGroupBox *m_categoryGroupBox; QLabel *m_metadataProgressLabel; QProgressBar *m_progressBar; - QHBoxLayout *m_mainHLayout; + QGridLayout *m_mainGLayout; QVBoxLayout *m_treeViewVLayout; bool m_allowCompressedRepositoryInstall; ComponentModel *m_allModel; |