parent
d553934b45
commit
aa2e6386a2
|
@ -49,8 +49,6 @@ Flickable {
|
|||
rightMargin: rightPadding
|
||||
contentWidth: contentItem.childrenRect.width
|
||||
contentHeight: contentItem.childrenRect.height
|
||||
implicitWidth: contentWidth + leftPadding + rightPadding
|
||||
implicitHeight: contentHeight + topPadding + bottomPadding
|
||||
boundsBehavior: Flickable.StopAtBounds
|
||||
maximumFlickVelocity: 2000
|
||||
synchronousDrag: true
|
||||
|
|
|
@ -28,8 +28,6 @@ Item {
|
|||
ColumnLayout {
|
||||
id: layout
|
||||
|
||||
implicitWidth: childrenRect.width
|
||||
implicitHeight: childrenRect.height
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
spacing: 8
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ StatusScrollView {
|
|||
objectName: "communityEditPanelScrollView"
|
||||
|
||||
implicitWidth: contentWidth
|
||||
implicitHeight: layout.childrenRect.height
|
||||
contentHeight: layout.implicitHeight
|
||||
|
||||
property alias name: nameInput.text
|
||||
property alias description: descriptionTextInput.text
|
||||
|
@ -54,7 +54,6 @@ StatusScrollView {
|
|||
id: layout
|
||||
|
||||
width: 608
|
||||
height: parent.height
|
||||
|
||||
spacing: 12
|
||||
|
||||
|
@ -93,9 +92,11 @@ StatusScrollView {
|
|||
id: pickColorComponent
|
||||
|
||||
StatusStackModal {
|
||||
anchors.centerIn: parent
|
||||
width: 640
|
||||
height: root.height
|
||||
anchors.centerIn: parent
|
||||
replaceItem: CommunityColorPanel {
|
||||
clip: true
|
||||
Component.onCompleted: color = colorPicker.color
|
||||
onAccepted: {
|
||||
colorPicker.color = color;
|
||||
|
|
|
@ -174,6 +174,7 @@ StackLayout {
|
|||
|
||||
content: CommunityEditSettingsPanel {
|
||||
name: root.name
|
||||
implicitWidth: parent.width
|
||||
description: root.description
|
||||
introMessage: root.introMessage
|
||||
outroMessage: root.outroMessage
|
||||
|
@ -182,6 +183,7 @@ StackLayout {
|
|||
color: root.color
|
||||
logoImageData: root.logoImageData
|
||||
bannerImageData: root.bannerImageData
|
||||
height: root.height
|
||||
options {
|
||||
archiveSupportEnabled: root.archiveSupportEnabled
|
||||
requestToJoinEnabled: root.requestToJoinEnabled
|
||||
|
|
|
@ -12,6 +12,8 @@ import StatusQ.Popups 0.1
|
|||
StatusScrollView {
|
||||
id: root
|
||||
|
||||
contentWidth: column.implicitWidth
|
||||
contentHeight: column.implicitHeight
|
||||
property string title: qsTr("Community Colour")
|
||||
|
||||
property var rightButtons: StatusButton {
|
||||
|
|
|
@ -370,14 +370,15 @@ StatusStackModal {
|
|||
id: generalView
|
||||
implicitWidth: root.width
|
||||
implicitHeight: root.height
|
||||
|
||||
contentWidth: availableWidth
|
||||
contentHeight: generalViewLayout.implicitHeight
|
||||
readonly property bool canGoNext: nameInput.valid && descriptionTextInput.valid
|
||||
|
||||
clip: false
|
||||
|
||||
ColumnLayout {
|
||||
id: generalViewLayout
|
||||
width: generalView.availableWidth
|
||||
width: generalView.contentWidth
|
||||
spacing: 16
|
||||
|
||||
CommunityNameInput {
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -8,6 +8,8 @@ import StatusQ.Components 0.1
|
|||
import shared.panels 1.0
|
||||
import utils 1.0
|
||||
|
||||
import utils 1.0
|
||||
|
||||
import "collectibles"
|
||||
|
||||
Item {
|
||||
|
|
Loading…
Reference in New Issue