Make padding in docked panel conditianal
This commit is contained in:
parent
905745714c
commit
02b0d62688
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue