~zsombi/ubuntu-ui-toolkit/popover-dismiss-buttons

« back to all changes in this revision

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

prereq merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
116
116
                AbstractButton {
117
117
                    id: button
118
118
                    anchors {
119
 
                        top: parent ? parent.top : undefined
120
 
                        bottom: parent ? parent.bottom: undefined
 
119
                        top: parent.top
 
120
                        bottom: parent.bottom
121
121
                    }
122
122
                    width: text.paintedWidth + text.anchors.leftMargin + text.anchors.rightMargin
123
123
 
150
150
                        return false;
151
151
                    }
152
152
 
153
 
                    // update the offset of the buttonRow
154
 
                    onOffsetChanged: {
155
 
                        if (selected) {
156
 
                            buttonView.updateOffset(button.offset);
157
 
                        }
158
 
                    }
159
 
 
160
153
                    Behavior on opacity {
161
154
                        NumberAnimation {
162
155
                            duration: headerTextFadeDuration