~loic.molinari/ubuntu-ui-toolkit/ubuntu-ui-toolkit-c++-label-conversion

« back to all changes in this revision

Viewing changes to modules/Ubuntu/Components/Themes/Ambiance/CheckBoxStyle.qml

  • Committer: Tarmac
  • Author(s): Florian Boucault
  • Date: 2015-03-06 13:07:42 UTC
  • mfrom: (1435.2.1 checkbox_clipping_fix)
  • Revision ID: tarmac-20150306130742-6vl2hj053k209k4b
CheckBox: apply clipping to the Ubuntu shape and not to the CheckBox itself so that the tick never overflows.

Approved by PS Jenkins bot, Zsombor Egri.

Show diffs side-by-side

added added

removed removed

Lines of Context:
113
113
                }
114
114
                SequentialAnimation {
115
115
                    PropertyAction {
116
 
                        target: checkBoxStyle
 
116
                        target: background
117
117
                        property: "clip"
118
118
                        value: true
119
119
                    }
124
124
                        easing: UbuntuAnimation.StandardEasingReverse
125
125
                    }
126
126
                    PropertyAction {
127
 
                        target: checkBoxStyle
 
127
                        target: background
128
128
                        property: "clip"
129
129
                        value: false
130
130
                    }
140
140
                }
141
141
                SequentialAnimation {
142
142
                    PropertyAction {
143
 
                        target: checkBoxStyle
 
143
                        target: background
144
144
                        property: "clip"
145
145
                        value: true
146
146
                    }
151
151
                        easing: UbuntuAnimation.StandardEasing
152
152
                    }
153
153
                    PropertyAction {
154
 
                        target: checkBoxStyle
 
154
                        target: background
155
155
                        property: "clip"
156
156
                        value: false
157
157
                    }