Skip to content
Permalink
Browse files

[QgsQuick] Feature form group styling

  • Loading branch information
vsklencar authored and wonder-sk committed Apr 8, 2019
1 parent e174577 commit 4a3bac82518d8d7142614bc82453b0b33c2b3fd5
@@ -253,6 +253,7 @@ Item {
id: content
anchors.fill: parent
clip: true
spacing: form.style.group.spacing
section.property: "Group"
section.labelPositioning: ViewSection.CurrentLabelAtStart | ViewSection.InlineLabels
section.delegate: Component {
@@ -265,7 +266,9 @@ Item {
Text {
anchors { horizontalCenter: parent.horizontalCenter; verticalCenter: parent.verticalCenter }
font.bold: true
font.pixelSize: form.style.group.fontPixelSize
text: section
color: form.style.group.fontColor
}
}
}
@@ -23,7 +23,10 @@ QtObject {

property QtObject group: QtObject {
property color backgroundColor: "lightGray"
property real height: 30 * QgsQuick.Utils.dp
property real height: 64 * QgsQuick.Utils.dp
property color fontColor: "black"
property int spacing: 10 * QgsQuick.Utils.dp
property int fontPixelSize: 24 * QgsQuick.Utils.dp
}

property QtObject tabs: QtObject {

0 comments on commit 4a3bac8

Please sign in to comment.
You can’t perform that action at this time.