More UI tweaks.

This commit is contained in:
Black Hat 2018-09-10 18:29:41 +08:00
parent 17aa5cbf16
commit e6beb5f6a8
3 changed files with 11 additions and 2 deletions

View File

@ -172,6 +172,8 @@ Page {
} }
Button { Button {
Layout.fillWidth: true
text: "Add Account" text: "Add Account"
flat: true flat: true
highlighted: true highlighted: true

View File

@ -48,6 +48,13 @@ Drawer {
text: room && room.canonicalAlias ? room.canonicalAlias : "No Canonical Alias" text: room && room.canonicalAlias ? room.canonicalAlias : "No Canonical Alias"
} }
Label {
Layout.fillWidth: true
horizontalAlignment: Text.AlignHCenter
text: room ? room.memberCount + " Members" : "No Member Count"
}
RowLayout { RowLayout {
Layout.fillWidth: true Layout.fillWidth: true

View File

@ -39,7 +39,7 @@ Item {
bottomPadding: 0 bottomPadding: 0
placeholderText: "Search..." placeholderText: "Search..."
background: Rectangle { color: MSettings.darkTheme ? "#282828" : "#fafafa" } background: Rectangle { color: MSettings.darkTheme ? "#303030" : "#fafafa" }
Shortcut { Shortcut {
sequence: StandardKey.Find sequence: StandardKey.Find
@ -107,7 +107,7 @@ Item {
width: parent.width width: parent.width
height: 64 height: 64
color: MSettings.darkTheme ? "#282828" : "#fafafa" color: MSettings.darkTheme ? "#303030" : "#fafafa"
AutoMouseArea { AutoMouseArea {
anchors.fill: parent anchors.fill: parent