← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1557802] Re: Cannot assign to non-existent sensingMargins "sensingMargins"

 

Yeah, that is too old.
The sensingArea property was added in revision 1866
http://bazaar.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/staging/revision/1866
while your phone is running version 1795

Please note that the -dev documentation is generated from the packages
available in the rc-proposed channel, so you have to run the latest OS
on rc-proposed channel to make sure you get the UITK version that the
-dev documentation refers to.


** Changed in: ubuntu-ui-toolkit (Ubuntu)
       Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1557802

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

Status in ubuntu-ui-toolkit package in Ubuntu:
  Invalid

Bug description:
  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"

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


References