Public bug reported:

https://developer.ubuntu.com/api/apps/qml/sdk-15.04.1/Ubuntu.Components.AbstractButton/

on the page, when I copy the code snippet and make an example for it:

import QtQuick 2.4
import Ubuntu.Components 1.3

/*!
    \brief MainView with a Label and Button elements.
*/

MainView {
    // objectName for functional testing purposes (autopilot-qt5)
    objectName: "mainView"

    // Note! applicationName needs to match the "name" field of the click 
manifest
    applicationName: "abstractbutton.liu-xiao-guo"

    width: units.gu(100)
    height: units.gu(75)

    Page {
        title: i18n.tr("abstractbutton")

        AbstractButton {
            width: units.gu(2)
            height: units.gu(2)
            sensingMargins {
                left: units.gu(1)
                top: units.gu(1)
                bottom: units.gu(1)
                right: units.gu(10)
            }
        }
    }
}

running on the phone results in:

qrc:///Main.qml:31:13: Cannot assign to non-existent sensingMargins
"sensingMargins"

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

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

Title:
  Cannot assign to non-existent sensingMargins "sensingMargins"

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to