File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,6 @@ FocusScope {
4343
4444 MaterialToolButton {
4545 text: MaterialIcons .search
46- enabled: root .toggle
4746
4847 onClicked: {
4948 isVisible = ! root .isVisible
@@ -81,6 +80,7 @@ FocusScope {
8180
8281 // Anchors
8382 anchors .right : parent .right
83+ anchors .rightMargin : 2 // Leave a tiny bit of space so that its highlight does not overlap with the boundary of the parent
8484 anchors .verticalCenter : parent .verticalCenter
8585
8686 // Style
Original file line number Diff line number Diff line change @@ -298,11 +298,10 @@ FloatingPane {
298298
299299 SearchBar {
300300 id: searchBar
301-
302- toggle: true // enable toggling the actual text field by the search button
303- Layout .minimumWidth : searchBar .width
304- maxWidth: parent .width
305-
301+ Layout .minimumWidth : 150
302+ Layout .fillWidth : true
303+ Layout .rightMargin : 10
304+ Layout .leftMargin : 10
306305 }
307306
308307 ListView {
You can’t perform that action at this time.
0 commit comments