Fix MemberDelegate v padding when collapsed
This commit is contained in:
parent
9924b0565a
commit
fbd7c45fe4
|
@ -6,16 +6,13 @@ import "../../utils.js" as Utils
|
||||||
HInteractiveRectangle {
|
HInteractiveRectangle {
|
||||||
id: memberDelegate
|
id: memberDelegate
|
||||||
width: memberList.width
|
width: memberList.width
|
||||||
height: childrenRect.height
|
height: rowLayout.height
|
||||||
|
|
||||||
Row {
|
|
||||||
width: parent.width - leftPadding * 2
|
|
||||||
padding: roomSidePane.currentSpacing / 2
|
|
||||||
leftPadding: roomSidePane.currentSpacing
|
|
||||||
rightPadding: 0
|
|
||||||
|
|
||||||
HRowLayout {
|
HRowLayout {
|
||||||
width: parent.width
|
id: rowLayout
|
||||||
|
x: roomSidePane.currentSpacing
|
||||||
|
width: parent.width - roomSidePane.currentSpacing * 1.5
|
||||||
|
height: avatar.height + roomSidePane.currentSpacing / 1.5
|
||||||
spacing: roomSidePane.currentSpacing
|
spacing: roomSidePane.currentSpacing
|
||||||
|
|
||||||
HUserAvatar {
|
HUserAvatar {
|
||||||
|
@ -39,4 +36,3 @@ HInteractiveRectangle {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user