Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[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 390f594
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/quickgui/plugin/editor/qgsquickrange.qml
Expand Up @@ -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
}

Expand Down

0 comments on commit 390f594

Please sign in to comment.