better group loading progress bar display #214
|
@ -49,7 +49,7 @@ Item { // LOTS OF NESTING TO DEAL WITH QT WEIRDNESS, SORRY
|
|||
rightPadding: 10
|
||||
//wrapMode: Text.WordWrap
|
||||
anchors.left: imgProfile.right
|
||||
anchors.right: loadingProgress.left
|
||||
anchors.right: loading ? loadingProgress.left : rectUnread.left
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
font.pixelSize: 16 * gcd.themeScale
|
||||
font.italic: !trusted
|
||||
|
@ -152,17 +152,7 @@ Item { // LOTS OF NESTING TO DEAL WITH QT WEIRDNESS, SORRY
|
|||
status = _status
|
||||
trusted = _trusted
|
||||
blocked = _blocked
|
||||
loading = _loading
|
||||
|
||||
|
||||
if (loading == true) {
|
||||
loadingProgress.visible = true
|
||||
loadingProgress.running = true
|
||||
} else {
|
||||
loadingProgress.visible = false
|
||||
loadingProgress.running = false
|
||||
}
|
||||
|
||||
loadingProgress.visible = loadingProgress.running = loading = _loading
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Reference in New Issue