fix(CreateCommunity): fix separator margins
This commit is contained in:
parent
aab008d6ef
commit
6a9bd579d1
|
@ -47,10 +47,12 @@ ModalPopup {
|
||||||
|
|
||||||
id: scrollView
|
id: scrollView
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
rightPadding: Style.current.bigPadding
|
rightPadding: Style.current.padding
|
||||||
anchors.rightMargin: - Style.current.padding
|
anchors.rightMargin: -Style.current.padding
|
||||||
leftPadding: Style.current.bigPadding
|
anchors.topMargin: -Style.current.padding
|
||||||
anchors.leftMargin: - Style.current.padding
|
leftPadding: Style.current.padding
|
||||||
|
topPadding: Style.current.padding
|
||||||
|
anchors.leftMargin: -Style.current.padding
|
||||||
contentHeight: content.height
|
contentHeight: content.height
|
||||||
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff
|
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff
|
||||||
ScrollBar.vertical.policy: ScrollBar.AlwaysOn
|
ScrollBar.vertical.policy: ScrollBar.AlwaysOn
|
||||||
|
@ -333,6 +335,10 @@ ModalPopup {
|
||||||
id: separator1
|
id: separator1
|
||||||
anchors.top: colorPicker.bottom
|
anchors.top: colorPicker.bottom
|
||||||
anchors.topMargin: isEdit ? 0 : Style.current.bigPadding
|
anchors.topMargin: isEdit ? 0 : Style.current.bigPadding
|
||||||
|
anchors.left: parent.left
|
||||||
|
anchors.leftMargin: -Style.current.padding
|
||||||
|
anchors.right: parent.right
|
||||||
|
anchors.rightMargin: -Style.current.padding
|
||||||
visible: !isEdit
|
visible: !isEdit
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -45,5 +45,9 @@ Item {
|
||||||
visible: !root.hideSeparator
|
visible: !root.hideSeparator
|
||||||
anchors.top: radioDesc.bottom
|
anchors.top: radioDesc.bottom
|
||||||
anchors.topMargin: visible ? Style.current.halfPadding : 0
|
anchors.topMargin: visible ? Style.current.halfPadding : 0
|
||||||
|
anchors.left: parent.left
|
||||||
|
anchors.leftMargin: -Style.current.halfPadding
|
||||||
|
anchors.right: parent.right
|
||||||
|
anchors.rightMargin: -Style.current.halfPadding
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue