From 02b0d62688a7301a20bb15c455d669428a5bf6ab Mon Sep 17 00:00:00 2001 From: Anton Thomasson Date: Sat, 6 Mar 2021 20:20:04 +0100 Subject: [PATCH] Make padding in docked panel conditianal --- qml/pages/FirstPage.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qml/pages/FirstPage.qml b/qml/pages/FirstPage.qml index 53f2480..4e2fa16 100644 --- a/qml/pages/FirstPage.qml +++ b/qml/pages/FirstPage.qml @@ -341,10 +341,11 @@ Page { id: panelColumn width: parent.width spacing: Theme.paddingLarge - topPadding: Theme.paddingLarge + topPadding: page.isPortrait && !warningRow.visible ? 2*Theme.paddingLarge : Theme.paddingLarge bottomPadding: page.isPortrait ? 2*Theme.paddingLarge : Theme.paddingLarge Row { + id: warningRow anchors.horizontalCenter: parent.horizontalCenter visible: Mimer.isOffice(page.selectedFileType)