mirror of
https://github.com/KDE/kasts.git
synced 2025-01-10 15:53:11 +01:00
Optimize placement of info messages (take into account sync message)
This commit is contained in:
parent
6c51086749
commit
8e0b346d5f
@ -93,7 +93,7 @@ Kirigami.ScrollablePage {
|
|||||||
horizontalCenter: parent.horizontalCenter
|
horizontalCenter: parent.horizontalCenter
|
||||||
bottom: parent.bottom
|
bottom: parent.bottom
|
||||||
margins: Kirigami.Units.largeSpacing
|
margins: Kirigami.Units.largeSpacing
|
||||||
bottomMargin: Kirigami.Units.largeSpacing + ( errorNotification.visible ? errorNotification.height + Kirigami.Units.largeSpacing : 0 ) + ( updateNotification.visible ? updateNotification.height + Kirigami.Units.largeSpacing : 0 )
|
bottomMargin: Kirigami.Units.largeSpacing + ( errorNotification.visible ? errorNotification.height + Kirigami.Units.largeSpacing : 0 ) + ( updateNotification.visible ? updateNotification.height + Kirigami.Units.largeSpacing : 0 ) + ( updateSyncNotification.visible ? updateSyncNotification.height + Kirigami.Units.largeSpacing : 0 )
|
||||||
}
|
}
|
||||||
type: Kirigami.MessageType.Information
|
type: Kirigami.MessageType.Information
|
||||||
visible: episodeProxyModel.filterType != EpisodeProxyModel.NoFilter
|
visible: episodeProxyModel.filterType != EpisodeProxyModel.NoFilter
|
||||||
@ -102,7 +102,7 @@ Kirigami.ScrollablePage {
|
|||||||
text: i18n("Filter Active: ") + episodeProxyModel.filterName
|
text: i18n("Filter Active: ") + episodeProxyModel.filterName
|
||||||
}
|
}
|
||||||
text: textMetrics.text
|
text: textMetrics.text
|
||||||
width: Math.min(textMetrics.width + 2 * Kirigami.Units.largeSpacing + 10 * Kirigami.Units.gridUnit, parent.width)
|
width: Math.min(textMetrics.width + 2 * Kirigami.Units.largeSpacing + 10 * Kirigami.Units.gridUnit, parent.width - anchors.leftMargin - anchors.rightMargin)
|
||||||
actions: [
|
actions: [
|
||||||
Kirigami.Action {
|
Kirigami.Action {
|
||||||
id: resetButton
|
id: resetButton
|
||||||
|
Loading…
Reference in New Issue
Block a user