Fix "loading past messages" busy indicator width
This commit is contained in:
parent
60fc2ccffc
commit
e86c5d7163
|
@ -24,7 +24,9 @@ HRowLayout {
|
||||||
Item {
|
Item {
|
||||||
visible: button.icon.name || button.loading
|
visible: button.icon.name || button.loading
|
||||||
|
|
||||||
Layout.preferredWidth: icon.width
|
Layout.preferredWidth:
|
||||||
|
button.loading ? busyIndicator.width : icon.width
|
||||||
|
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
Layout.alignment: Qt.AlignCenter
|
Layout.alignment: Qt.AlignCenter
|
||||||
|
|
||||||
|
@ -43,6 +45,7 @@ HRowLayout {
|
||||||
}
|
}
|
||||||
|
|
||||||
HBusyIndicator {
|
HBusyIndicator {
|
||||||
|
id: busyIndicator
|
||||||
width: height
|
width: height
|
||||||
height: parent.height
|
height: parent.height
|
||||||
opacity: button.loading ? 1 : 0
|
opacity: button.loading ? 1 : 0
|
||||||
|
|
Loading…
Reference in New Issue
Block a user