Fix RoomHeader icon paddings

This commit is contained in:
miruka 2019-09-01 20:33:05 -04:00
parent 1c41b91ef2
commit d5dbb1368f

View File

@ -78,6 +78,9 @@ Rectangle {
icon.name: "room-view-" + modelData icon.name: "room-view-" + modelData
iconItem.dimension: 22 iconItem.dimension: 22
height: parent.height height: parent.height
spacing: theme.spacing / 1.5
topPadding: 0
bottomPadding: topPadding
autoExclusive: true autoExclusive: true
checked: activeButton == modelData checked: activeButton == modelData
enabled: modelData == "members" enabled: modelData == "members"
@ -100,6 +103,9 @@ Rectangle {
z: 1 z: 1
width: height width: height
height: parent.height height: parent.height
spacing: theme.spacing / 1.5
topPadding: 0
bottomPadding: topPadding
anchors.right: parent.right anchors.right: parent.right
opacity: collapseButtons ? 1 : 0 opacity: collapseButtons ? 1 : 0
visible: opacity > 0 visible: opacity > 0