diff options
author | Claudio Cambra <claudio.cambra@gmail.com> | 2022-07-11 19:56:35 +0300 |
---|---|---|
committer | Claudio Cambra <claudio.cambra@gmail.com> | 2022-07-21 16:38:18 +0300 |
commit | 8d0df62c499f3f432b79c8608fe2e50f6e14d2f2 (patch) | |
tree | b9300ab2be7a026b2c3842d6be6195378a551c4b /src/gui/tray/Window.qml | |
parent | 89fbadd26c1a3373d92128c3dee2f117cddaf288 (diff) |
Stop styling QML unified search items hierarchically, use global Style constants
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
Diffstat (limited to 'src/gui/tray/Window.qml')
-rw-r--r-- | src/gui/tray/Window.qml | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/gui/tray/Window.qml b/src/gui/tray/Window.qml index 1e84e1847..5508d0803 100644 --- a/src/gui/tray/Window.qml +++ b/src/gui/tray/Window.qml @@ -665,9 +665,6 @@ Window { id: unifiedSearchResultsErrorLabel
visible: UserModel.currentUser.unifiedSearchResultsListModel.errorString && !unifiedSearchResultsListView.visible && ! UserModel.currentUser.unifiedSearchResultsListModel.isSearchInProgress && ! UserModel.currentUser.unifiedSearchResultsListModel.currentFetchMoreInProgressProviderId
text: UserModel.currentUser.unifiedSearchResultsListModel.errorString
- color: Style.errorBoxBackgroundColor
- backgroundColor: Style.errorBoxTextColor
- borderColor: "transparent"
anchors.top: trayWindowUnifiedSearchInputContainer.bottom
anchors.left: trayWindowBackground.left
anchors.right: trayWindowBackground.right
@@ -716,16 +713,6 @@ Window { anchors.left: trayWindowBackground.left
anchors.right: trayWindowBackground.right
anchors.bottom: trayWindowBackground.bottom
- textLeftMargin: trayWindowBackground.Style.unifiedSearchResultTextLeftMargin
- textRightMargin: trayWindowBackground.Style.unifiedSearchResultTextRightMargin
- iconWidth: trayWindowBackground.Style.unifiedSearchResulIconWidth
- iconLeftMargin: trayWindowBackground.Style.unifiedSearchResulIconLeftMargin
- itemHeight: trayWindowBackground.Style.unifiedSearchItemHeight
- titleFontSize: trayWindowBackground.Style.unifiedSearchResulTitleFontSize
- sublineFontSize: trayWindowBackground.Style.unifiedSearchResulSublineFontSize
- titleColor: Style.ncTextColor
- sublineColor: Style.ncSecondaryTextColor
- iconColor: "#afafaf"
}
ScrollView {
@@ -761,16 +748,7 @@ Window { delegate: UnifiedSearchResultListItem {
width: unifiedSearchResultsListView.width
- height: Style.unifiedSearchItemHeight
isSearchInProgress: unifiedSearchResultsListView.model.isSearchInProgress
- textLeftMargin: Style.unifiedSearchResultTextLeftMargin
- textRightMargin: Style.unifiedSearchResultTextRightMargin
- iconWidth: Style.unifiedSearchResulIconWidth
- iconLeftMargin: Style.unifiedSearchResulIconLeftMargin
- titleFontSize: Style.unifiedSearchResulTitleFontSize
- sublineFontSize: Style.unifiedSearchResulSublineFontSize
- titleColor: Style.ncTextColor
- sublineColor: Style.ncSecondaryTextColor
currentFetchMoreInProgressProviderId: unifiedSearchResultsListView.model.currentFetchMoreInProgressProviderId
fetchMoreTriggerClicked: unifiedSearchResultsListView.model.fetchMoreTriggerClicked
resultClicked: unifiedSearchResultsListView.model.resultClicked
|