~mzanetti/unity8/fix-preview-collapsing

« back to all changes in this revision

Viewing changes to Components/PageHeader.qml

merged with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
147
147
 
148
148
                    hasClearButton: false
149
149
 
150
 
                    primaryItem: Button {
 
150
                    primaryItem: AbstractButton {
151
151
                        enabled: searchField.text != ""
152
 
                        color: "transparent"
153
152
                        onClicked: {
154
153
                            if (searchField.text != "") {
155
154
                                searchHistory.addQuery(searchField.text)
271
270
 
272
271
                        // FIXME: this should go into the first item below, but enable: false
273
272
                        // prevents mouse events propagation
274
 
                        Button {
275
 
                            color: "transparent"
 
273
                        AbstractButton {
276
274
                            anchors {
277
275
                                top: parent.top
278
276
                                right: parent.right