** Changed in: ubuntu-ui-toolkit (Ubuntu)
       Status: New => Fix Released

** Changed in: ubuntu-ui-toolkit (Ubuntu RTM)
       Status: New => Fix Released

-- 
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/1332092

Title:
  Changing the size of the switch does not change the size of the icons
  inside it

Status in Ubuntu UI Toolkit:
  Fix Released
Status in ubuntu-ui-toolkit package in Ubuntu:
  Fix Released
Status in ubuntu-ui-toolkit package in Ubuntu RTM:
  Fix Released

Bug description:
  import QtQuick 2.0
  import Ubuntu.Components 1.1

  MainView {
         id: root
    
        applicationName: "com.ubuntu.developer.nik90.Test"

        width: units.gu(45)
        height: units.gu(45)

         switch {
             id: testSwitch
             anchors.centerIn: parent
             width: units.gu(5)
             height: units.gu(3)
         }
  }

  Notice how the switch icons "x" and tick are cut off.

  Use case: In the new clock app designs, the switch sizes are smaller
  than the default size.

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

-- 
Mailing list: https://launchpad.net/~ubuntu-sdk-bugs
Post to     : ubuntu-sdk-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-sdk-bugs
More help   : https://help.launchpad.net/ListHelp

Reply via email to