Skip to content
Permalink
Browse files

[QgsQuick] Range widget update

Different background color when a widget is enabled/disabled
  • Loading branch information
vsklencar authored and wonder-sk committed Jul 30, 2019
1 parent a9db87a commit 390f594498bf4ccfe6542904590f44184ed38196
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/quickgui/plugin/editor/qgsquickrange.qml
@@ -70,11 +70,11 @@ Item {
editable: true
visible: fieldItem.widgetStyle === "SpinBox"

background: Rectangle {
background: Rectangle {
anchors.fill: parent
border.color: customStyle.fields.normalColor
border.width: 1 * QgsQuick.Utils.dp
color: customStyle.fields.backgroundColor
color: fieldItem.enabled ? "#ffffff" : customStyle.fields.backgroundColor
radius: customStyle.fields.cornerRadius
}

0 comments on commit 390f594

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