Compare commits
1 Commits
master
...
work/thiag
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
67b54cc112 |
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user