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 {
Layout.fillWidth: true
text: "Add Account"
flat: true
highlighted: true

View File

@ -48,6 +48,13 @@ Drawer {
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 {
Layout.fillWidth: true

View File

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