mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Place unified search placeholder view in main tray window view when in focus and no text is entered
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
5fdc8a236f
commit
a50074362e
@ -296,6 +296,18 @@ ApplicationWindow {
|
||||
anchors.margins: Style.trayHorizontalMargin
|
||||
}
|
||||
|
||||
UnifiedSearchPlaceholderView {
|
||||
id: unifiedSearchPlaceholderView
|
||||
|
||||
anchors.top: bottomUnifiedSearchInputSeparator.bottom
|
||||
anchors.left: trayWindowMainItem.left
|
||||
anchors.right: trayWindowMainItem.right
|
||||
anchors.bottom: trayWindowMainItem.bottom
|
||||
anchors.topMargin: Style.trayHorizontalMargin
|
||||
|
||||
visible: trayWindowUnifiedSearchInputContainer.activateSearchFocus && !UserModel.currentUser.unifiedSearchResultsListModel.searchTerm
|
||||
}
|
||||
|
||||
UnifiedSearchResultNothingFound {
|
||||
id: unifiedSearchResultNothingFound
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user