Compare commits

...

1 Commits

Author SHA1 Message Date
Thiago Sueto
67b54cc112 Increase top, left and right margins in RoomInformation drawer 2024-12-04 17:04:55 -03:00

View File

@@ -46,6 +46,9 @@ QQC2.ScrollView {
ListView { ListView {
id: userList id: userList
topMargin: Kirigami.Units.largeSpacing
leftMargin: Kirigami.Units.largeSpacing
rightMargin: Kirigami.Units.largeSpacing
header: ColumnLayout { header: ColumnLayout {
id: columnLayout id: columnLayout
@@ -57,7 +60,6 @@ QQC2.ScrollView {
Loader { Loader {
active: true active: true
Layout.fillWidth: true Layout.fillWidth: true
Layout.topMargin: Kirigami.Units.smallSpacing
visible: !root.room.isSpace visible: !root.room.isSpace
sourceComponent: root.room.isDirectChat() ? directChatDrawerHeader : groupChatDrawerHeader sourceComponent: root.room.isDirectChat() ? directChatDrawerHeader : groupChatDrawerHeader
onItemChanged: if (item) { onItemChanged: if (item) {
@@ -209,7 +211,7 @@ QQC2.ScrollView {
section.delegate: Kirigami.ListSectionHeader { section.delegate: Kirigami.ListSectionHeader {
required property string section required property string section
width: ListView.view.width width: ListView.view.width - ListView.view.leftMargin - ListView.view.rightMargin
text: section text: section
} }
@@ -224,6 +226,7 @@ QQC2.ScrollView {
required property string powerLevelString required property string powerLevelString
implicitHeight: Kirigami.Units.gridUnit * 2 implicitHeight: Kirigami.Units.gridUnit * 2
width: ListView.view.width - ListView.view.leftMargin - ListView.view.rightMargin
text: name text: name