Skip to content
Permalink
Browse files
[QgsQuick] Feature form group styling
  • Loading branch information
vsklencar authored and wonder-sk committed Apr 10, 2019
1 parent e174577 commit 4a3bac82518d8d7142614bc82453b0b33c2b3fd5
Showing with 7 additions and 1 deletion.
  1. +3 −0 src/quickgui/plugin/qgsquickfeatureform.qml
  2. +4 −1 src/quickgui/plugin/qgsquickfeatureformstyling.qml
@@ -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.