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 @@ -44,7 +44,6 @@ FocusScope {
4444
4545 MaterialToolButton {
4646 text: MaterialIcons .search
47- enabled: root .toggle
4847
4948 onClicked: {
5049 isVisible = ! root .isVisible
@@ -82,6 +81,7 @@ FocusScope {
8281
8382 // Anchors
8483 anchors .right : parent .right
84+ anchors .rightMargin : 2 // Leave a tiny bit of space so that its highlight does not overlap with the boundary of the parent
8585 anchors .verticalCenter : parent .verticalCenter
8686
8787 // Style
Original file line number Diff line number Diff line change @@ -318,11 +318,10 @@ FloatingPane {
318318
319319 SearchBar {
320320 id: searchBar
321-
322- toggle: true // enable toggling the actual text field by the search button
323- Layout .minimumWidth : searchBar .width
324- maxWidth: parent .width
325-
321+ Layout .minimumWidth : 150
322+ Layout .fillWidth : true
323+ Layout .rightMargin : 10
324+ Layout .leftMargin : 10
326325 }
327326
328327 ListView {
You can’t perform that action at this time.
0 commit comments