parent
c673f8302a
commit
e49144d174
|
@ -111,13 +111,9 @@ Item {
|
|||
anchors.top: membershipRequests.bottom
|
||||
anchors.topMargin: Style.current.padding
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
|
||||
width: parent.width
|
||||
|
||||
leftPadding: Style.current.halfPadding
|
||||
rightPadding: Style.current.halfPadding
|
||||
|
||||
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff
|
||||
clip: true
|
||||
contentHeight: communityChatListAndCategories.height
|
||||
|
@ -126,10 +122,7 @@ Item {
|
|||
|
||||
StatusChatListAndCategories {
|
||||
id: communityChatListAndCategories
|
||||
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
width: root.width
|
||||
|
||||
draggableItems: communityData.amISectionAdmin
|
||||
draggableCategories: communityData.amISectionAdmin
|
||||
|
||||
|
|
|
@ -60,19 +60,16 @@ Item {
|
|||
|
||||
RowLayout {
|
||||
id: searchInputWrapper
|
||||
width: parent.width
|
||||
width: 288
|
||||
height: searchInput.height
|
||||
anchors.top: headline.bottom
|
||||
anchors.topMargin: 16
|
||||
anchors.right: parent.right
|
||||
anchors.rightMargin: 8
|
||||
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
|
||||
StatusBaseInput {
|
||||
id: searchInput
|
||||
Layout.fillWidth: true
|
||||
Layout.alignment: Qt.AlignVCenter | Qt.AlignLeft
|
||||
Layout.leftMargin: 17
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
implicitHeight: 36
|
||||
topPadding: 9
|
||||
//% "Search"
|
||||
|
@ -161,10 +158,6 @@ Item {
|
|||
anchors.topMargin: Style.current.padding
|
||||
anchors.bottom: root.bottom
|
||||
contentHeight: channelList.childrenRect.height + emptyViewAndSuggestions.childrenRect.height
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
|
||||
leftPadding: Style.current.halfPadding
|
||||
rightPadding: Style.current.halfPadding
|
||||
|
||||
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff
|
||||
|
||||
|
@ -172,6 +165,7 @@ Item {
|
|||
|
||||
StatusChatList {
|
||||
id: channelList
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
model: root.chatSectionModule.model
|
||||
highlightItem: !root.store.openCreateChat
|
||||
onChatItemSelected: {
|
||||
|
|
Loading…
Reference in New Issue