Public bug reported:

For example:

import QtQuick 2.4
import Ubuntu.Components 1.3

Item {
    width: units.gu(40)
    height: units.gu(71)

    Button {
        objectName: "Button"
        id: button
        gradient: UbuntuColors.greyGradient
        StyleHints {
            ignoreUnknownProperties: false
            gradientProxy.topColor: "orange"
        }
    }
}

gives:

file:///home/ubuntu/dev/ubuntu-ui-
toolkit/m/fixGroupedStyleProperties/tests/unit/subtheming/GroupPropertyValueHints.qml:28:9:
QML StyleHints: Style 'ButtonStyle' has no property called
'gradientProxy.topColor'

and the color is not set.

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: Undecided
         Status: Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1602836

Title:
  Grouped properties in StyleHints don't work for simple values.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1602836/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to