diff --git a/src/gui/tray/Window.qml b/src/gui/tray/Window.qml index f048daa2a454e..5f7453ec4ee65 100644 --- a/src/gui/tray/Window.qml +++ b/src/gui/tray/Window.qml @@ -667,7 +667,8 @@ ApplicationWindow { id: trayWindowUnifiedSearchInputContainer height: Style.unifiedSearchInputContainerHeight + topInset + - bottomInset + bottomInset + + bottomUnifiedSearchInputSeparator.height anchors.top: trayWindowHeaderBackground.bottom anchors.left: trayWindowMainItem.left @@ -676,12 +677,27 @@ ApplicationWindow { topInset: Style.trayHorizontalMargin + controlRoot.padding leftInset: Style.trayHorizontalMargin + controlRoot.padding rightInset: Style.trayHorizontalMargin + controlRoot.padding + bottomInset: bottomUnifiedSearchInputSeparator.visible ? + Style.trayHorizontalMargin + controlRoot.padding + bottomUnifiedSearchInputSeparator.height : + 0 text: UserModel.currentUser.unifiedSearchResultsListModel.searchTerm readOnly: !UserModel.currentUser.isConnected || UserModel.currentUser.unifiedSearchResultsListModel.currentFetchMoreInProgressProviderId isSearchInProgress: UserModel.currentUser.unifiedSearchResultsListModel.isSearchInProgress onTextEdited: { UserModel.currentUser.unifiedSearchResultsListModel.searchTerm = trayWindowUnifiedSearchInputContainer.text } onClearText: { UserModel.currentUser.unifiedSearchResultsListModel.searchTerm = "" } + + Rectangle { + id: bottomUnifiedSearchInputSeparator + + anchors.left: parent.left + anchors.right: parent.right + anchors.bottom: parent.bottom + + height: 1 + color: Style.menuBorder + visible: trayWindowMainItem.isUnifiedSearchActive + } } ErrorBox { @@ -789,6 +805,17 @@ ApplicationWindow { anchors.top: trayWindowUnifiedSearchInputContainer.bottom anchors.left: trayWindowMainItem.left anchors.right: trayWindowMainItem.right + + Rectangle { + id: syncStatusSeparator + + anchors.left: parent.left + anchors.right: parent.right + anchors.bottom: parent.bottom + + height: 1 + color: Style.menuBorder + } } ActivityList {