mirror of
https://github.com/KDE/kasts.git
synced 2025-01-28 16:19:56 +01:00
Visual alignment of elements and whitespace corrections
This commit is contained in:
parent
a7bac204ad
commit
33b3685413
@ -55,7 +55,7 @@ Kirigami.ScrollablePage {
|
||||
opacity: 1
|
||||
}
|
||||
Controls.Label {
|
||||
text: i18n("Error code: ") + error.code + " · " + error.message
|
||||
text: i18n("Error code: ") + error.code + (error.message ? " · " + error.message : "")
|
||||
Layout.fillWidth: true
|
||||
elide: Text.ElideRight
|
||||
font: Kirigami.Theme.smallFont
|
||||
|
@ -95,7 +95,7 @@ Kirigami.SwipeListItem {
|
||||
Layout.fillWidth: true
|
||||
elide: Text.ElideRight
|
||||
font: Kirigami.Theme.smallFont
|
||||
opacity: 0.7
|
||||
opacity: entry.read ? 0.4 : 0.7
|
||||
visible: !downloadProgress.visible
|
||||
}
|
||||
}
|
||||
@ -116,19 +116,20 @@ Kirigami.SwipeListItem {
|
||||
text: audio.timeString(entry.enclosure.playPosition)
|
||||
elide: Text.ElideRight
|
||||
font: Kirigami.Theme.smallFont
|
||||
opacity: 0.7
|
||||
opacity: entry.read ? 0.4 : 0.7
|
||||
}
|
||||
Controls.ProgressBar {
|
||||
from: 0
|
||||
to: entry.enclosure.duration
|
||||
value: entry.enclosure.playPosition / 1000
|
||||
Layout.fillWidth: true
|
||||
opacity: entry.read ? 0.6 : 1
|
||||
}
|
||||
Controls.Label {
|
||||
text: audio.timeString(entry.enclosure.duration * 1000)
|
||||
elide: Text.ElideRight
|
||||
font: Kirigami.Theme.smallFont
|
||||
opacity: 0.7
|
||||
opacity: entry.read ? 0.4 : 0.7
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user