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 {
id: roomSidePane
color: theme.chat.roomSidePane.background
edge: Qt.RightEdge
normalSize: buttonRepeater.childrenImplicitWidth
minNormalSize:
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 {
anchors.fill: parent

View File

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