Optimize placement of info and error messages
This commit is contained in:
parent
3aa45e555a
commit
6c51086749
@ -92,7 +92,8 @@ Kirigami.ScrollablePage {
|
||||
anchors {
|
||||
horizontalCenter: parent.horizontalCenter
|
||||
bottom: parent.bottom
|
||||
bottomMargin: (Kirigami.Settings.isMobile ? Kirigami.Units.largeSpacing * 9 : Kirigami.Units.largeSpacing * 2) + (errorNotification.visible ? errorNotification.height : 0)
|
||||
margins: Kirigami.Units.largeSpacing
|
||||
bottomMargin: Kirigami.Units.largeSpacing + ( errorNotification.visible ? errorNotification.height + Kirigami.Units.largeSpacing : 0 ) + ( updateNotification.visible ? updateNotification.height + Kirigami.Units.largeSpacing : 0 )
|
||||
}
|
||||
type: Kirigami.MessageType.Information
|
||||
visible: episodeProxyModel.filterType != EpisodeProxyModel.NoFilter
|
||||
|
@ -30,7 +30,7 @@ Rectangle {
|
||||
left: parent.left
|
||||
right: parent.right
|
||||
margins: Kirigami.Settings.isMobile ? Kirigami.Units.largeSpacing : Kirigami.Units.gridUnit * 4
|
||||
bottomMargin: bottomMessageSpacing + ( errorNotification.visible ? errorNotification.height : 0 )
|
||||
bottomMargin: bottomMessageSpacing + ( errorNotification.visible ? errorNotification.height + Kirigami.Units.largeSpacing : 0 )
|
||||
}
|
||||
|
||||
color: Kirigami.Theme.activeTextColor
|
||||
|
@ -27,7 +27,7 @@ Kirigami.ApplicationWindow {
|
||||
if (Kirigami.Settings.isMobile) {
|
||||
return Kirigami.Units.largeSpacing + ( AudioManager.entry ? ( footerLoader.item.contentY == 0 ? miniplayerSize : 0 ) : 0 )
|
||||
} else {
|
||||
return Kirigami.Units.largeSpacing * 2;
|
||||
return Kirigami.Units.largeSpacing;
|
||||
}
|
||||
}
|
||||
property int originalWidth: Kirigami.Units.gridUnit * 10
|
||||
|
Loading…
x
Reference in New Issue
Block a user