fix(CommunityTagsPanel): unbreak the tags panel

yet another little victim of the StatusScrollView regression; same
(similar) thing for the color panel

Fixes #9971
This commit is contained in:
Lukáš Tinkl 2023-04-03 20:55:22 +02:00 committed by Lukáš Tinkl
parent cde9f810e6
commit 47c8747473
2 changed files with 8 additions and 5 deletions

View File

@ -12,8 +12,6 @@ import StatusQ.Popups 0.1
StatusScrollView {
id: root
contentWidth: column.implicitWidth
contentHeight: column.implicitHeight
property string title: qsTr("Community Colour")
property var rightButtons: StatusButton {
@ -39,6 +37,10 @@ StatusScrollView {
hexInput.text = color.toString();
}
contentWidth: implicitWidth
contentHeight: implicitHeight
implicitWidth: column.childrenRect.width
implicitHeight: column.childrenRect.height
padding: 0
clip: false

View File

@ -63,7 +63,10 @@ StatusScrollView {
onSelectedTagsChanged: updateSelectedTags()
padding: 0
contentWidth: column.width
contentWidth: implicitWidth
contentHeight: implicitHeight
implicitWidth: column.childrenRect.width
implicitHeight: column.childrenRect.height
clip: false
QtObject {
@ -80,8 +83,6 @@ StatusScrollView {
StatusInput {
id: tagsFilter
leftPadding: 0
rightPadding: 0
label: qsTr("Select tags that will fit your Community")
labelPadding: Style.current.bigPadding
font.pixelSize: 15