Changing the size of the switch does not change the size of the icons inside it
Bug #1332092 reported by
Nekhelesh Ramananthan
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
applicati
width: units.gu(45)
height: units.gu(45)
switch {
id: testSwitch
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.
Related branches
lp:~tpeeters/ubuntu-ui-toolkit/littleSwitch
- PS Jenkins bot: Approve (continuous-integration)
- Cris Dywan: Approve
-
Diff: 260 lines (+133/-44)2 files modifiedmodules/Ubuntu/Components/Themes/Ambiance/SwitchStyle.qml (+132/-43)
modules/Ubuntu/Components/Themes/Ambiance/qmldir (+1/-1)
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 |
Changed in ubuntu-ui-toolkit: | |
assignee: | nobody → Tim Peeters (tpeeters) |
status: | Confirmed → In Progress |
Changed in ubuntu-ui-toolkit: | |
status: | Fix Committed → Fix Released |
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.
Fix committed into lp:ubuntu-ui-toolkit/staging at revision 1321, scheduled for release in ubuntu-ui-toolkit, milestone Unknown