fix(CreateCommunity): fix separator margins
This commit is contained in:
parent
aab008d6ef
commit
6a9bd579d1
|
@ -47,10 +47,12 @@ ModalPopup {
|
|||
|
||||
id: scrollView
|
||||
anchors.fill: parent
|
||||
rightPadding: Style.current.bigPadding
|
||||
anchors.rightMargin: - Style.current.padding
|
||||
leftPadding: Style.current.bigPadding
|
||||
anchors.leftMargin: - Style.current.padding
|
||||
rightPadding: Style.current.padding
|
||||
anchors.rightMargin: -Style.current.padding
|
||||
anchors.topMargin: -Style.current.padding
|
||||
leftPadding: Style.current.padding
|
||||
topPadding: Style.current.padding
|
||||
anchors.leftMargin: -Style.current.padding
|
||||
contentHeight: content.height
|
||||
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff
|
||||
ScrollBar.vertical.policy: ScrollBar.AlwaysOn
|
||||
|
@ -333,6 +335,10 @@ ModalPopup {
|
|||
id: separator1
|
||||
anchors.top: colorPicker.bottom
|
||||
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
|
||||
}
|
||||
|
||||
|
|
|
@ -45,5 +45,9 @@ Item {
|
|||
visible: !root.hideSeparator
|
||||
anchors.top: radioDesc.bottom
|
||||
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