Fix MembersView ListView being too wide
This commit is contained in:
		| @@ -2,19 +2,16 @@ import QtQuick 2.7 | |||||||
| import QtQuick.Layouts 1.3 | import QtQuick.Layouts 1.3 | ||||||
| import "../../Base" | import "../../Base" | ||||||
|  |  | ||||||
| Column { | HColumnLayout { | ||||||
|     property int normalSpacing: 8 |     property int normalSpacing: 8 | ||||||
|  |  | ||||||
|     leftPadding: roomSidePane.collapsed ? 0 : normalSpacing |     Layout.leftMargin: roomSidePane.collapsed ? 0 : normalSpacing | ||||||
|     rightPadding: leftPadding |     Layout.rightMargin: Layout.leftMargin | ||||||
|  |  | ||||||
|     ListView { |     ListView { | ||||||
|         width: parent.width |  | ||||||
|         height: parent.height |  | ||||||
|  |  | ||||||
|         id: memberList |         id: memberList | ||||||
|  |  | ||||||
|         spacing: parent.leftPadding |         spacing: parent.Layout.leftMargin | ||||||
|         topMargin: spacing |         topMargin: spacing | ||||||
|         bottomMargin: topMargin |         bottomMargin: topMargin | ||||||
|  |  | ||||||
| @@ -24,5 +21,9 @@ Column { | |||||||
|  |  | ||||||
|         model: chatPage.roomInfo.members |         model: chatPage.roomInfo.members | ||||||
|         delegate: MemberDelegate {} |         delegate: MemberDelegate {} | ||||||
|  |  | ||||||
|  |         Layout.fillWidth: true | ||||||
|  |         Layout.fillHeight: true | ||||||
|  |  | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	