Fix room pane default size

This commit is contained in:
miruka
2020-03-19 00:13:19 -04:00
parent 588dc4eec3
commit fe40d117b2
2 changed files with 12 additions and 4 deletions

View File

@@ -9,6 +9,12 @@ MultiviewPane {
saveName: "roomPane"
edge: Qt.RightEdge
defaultSize:
(buttonRepeater.count - (roomPane.collapse ? 0 : 1)) * buttonWidth
buttonWidth:
buttonRepeater.count >= 1 ? buttonRepeater.itemAt(1).implicitWidth : 0
buttonsBackgroundColor: theme.chat.roomPane.topBar.background
background: Rectangle { color: theme.chat.roomPane.background }