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

Bug #1332092 reported by Nekhelesh Ramananthan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu UI Toolkit
Fix Released
Medium
Tim Peeters
ubuntu-ui-toolkit (Ubuntu)
Fix Released
Undecided
Unassigned
Vivid
New
Undecided
Unassigned
ubuntu-ui-toolkit (Ubuntu RTM)
Fix Released
Undecided
Unassigned

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.

Tags: clock-app

Related branches

Tim Peeters (tpeeters)
summary: - Changing the switch of the switch does not change the size of the icons
+ Changing the size of the switch does not change the size of the icons
inside it
Changed in ubuntu-ui-toolkit:
status: New → Confirmed
importance: Undecided → Medium
tags: added: clock-app
Tim Peeters (tpeeters)
Changed in ubuntu-ui-toolkit:
assignee: nobody → Tim Peeters (tpeeters)
status: Confirmed → In Progress
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:ubuntu-ui-toolkit/staging at revision 1321, scheduled for release in ubuntu-ui-toolkit, milestone Unknown

Changed in ubuntu-ui-toolkit:
status: In Progress → Fix Committed
Zoltan Balogh (bzoltan)
Changed in ubuntu-ui-toolkit:
status: Fix Committed → Fix Released
Zsombor Egri (zsombi)
Changed in ubuntu-ui-toolkit (Ubuntu):
status: New → Fix Released
Changed in ubuntu-ui-toolkit (Ubuntu RTM):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.