RoomSidePane header buttons background

This commit is contained in:
miruka 2019-12-09 11:46:41 -04:00
parent 13d3f19997
commit 66e3a07401
2 changed files with 19 additions and 1 deletions

View File

@ -4,12 +4,27 @@ import "../../Base"
HDrawer { HDrawer {
id: roomSidePane id: roomSidePane
color: theme.chat.roomSidePane.background
edge: Qt.RightEdge edge: Qt.RightEdge
normalSize: buttonRepeater.childrenImplicitWidth normalSize: buttonRepeater.childrenImplicitWidth
minNormalSize: minNormalSize:
buttonRepeater.count > 0 ? buttonRepeater.itemAt(0).implicitWidth : 0 buttonRepeater.count > 0 ? buttonRepeater.itemAt(0).implicitWidth : 0
background: HColumnLayout{
Rectangle {
color: theme.chat.roomSidePaneButtons.background
Layout.fillWidth: true
Layout.preferredHeight: theme.baseElementsHeight
}
Rectangle {
color: theme.chat.roomSidePane.background
Layout.fillWidth: true
Layout.fillHeight: true
}
}
HColumnLayout { HColumnLayout {
anchors.fill: parent anchors.fill: parent

View File

@ -297,6 +297,9 @@ chat:
color name: colors.text color name: colors.text
color topic: colors.dimText color topic: colors.dimText
roomSidePaneButtons:
color background: chat.roomHeader.background
roomSidePane: roomSidePane:
color background: colors.mediumBackground color background: colors.mediumBackground