Add upload progress && fix icon proportion of DBus.
This commit is contained in:
@@ -28,8 +28,8 @@ Drawer {
|
||||
anchors.margins: 32
|
||||
|
||||
ImageItem {
|
||||
Layout.preferredWidth: 64
|
||||
Layout.preferredHeight: 64
|
||||
Layout.preferredWidth: 96
|
||||
Layout.preferredHeight: 96
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
|
||||
hint: room ? room.displayName : "No name"
|
||||
|
||||
@@ -160,7 +160,7 @@ Item {
|
||||
|
||||
id: goTopFab
|
||||
|
||||
visible: !(messageListView.atYEnd || messageListView.moving)
|
||||
visible: !messageListView.atYEnd
|
||||
|
||||
contentItem: MaterialIcon {
|
||||
anchors.fill: parent
|
||||
|
||||
@@ -20,6 +20,14 @@ Rectangle {
|
||||
elevation: 2
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
width: currentRoom && currentRoom.hasFileUploading ? parent.width * currentRoom.fileUploadingProgress / 100 : 0
|
||||
height: parent.height
|
||||
|
||||
opacity: 0.2
|
||||
color: Material.accent
|
||||
}
|
||||
|
||||
RowLayout {
|
||||
anchors.fill: parent
|
||||
|
||||
@@ -40,7 +48,7 @@ Rectangle {
|
||||
BusyIndicator {
|
||||
anchors.fill: parent
|
||||
|
||||
running: false
|
||||
running: currentRoom && currentRoom.hasFileUploading
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user