1
0
Fork 0
mirror of https://github.com/HenkKalkwater/harbour-sailfin.git synced 2025-09-05 18:22:46 +00:00

Minor UI tweaks

This commit is contained in:
Chris Josten 2021-02-12 03:32:28 +01:00
parent 382af84846
commit eda4994aac
9 changed files with 139 additions and 22 deletions

View file

@ -78,13 +78,14 @@ BaseDetailPage {
model: showSeasonsModel
clip: true
width: parent.width
height: Screen.width / 2
height: Constants.libraryDelegatePosterHeight
orientation: ListView.Horizontal
spacing: Theme.paddingLarge
leftMargin: Theme.horizontalPageMargin
rightMargin: Theme.horizontalPageMargin
delegate: LibraryItemDelegate {
poster: Utils.itemModelImageUrl(ApiClient.baseUrl, model.id, model.imageTags.primary, "Primary", {"maxHeight": height})
blurhash: model.imageBlurHashes["primary"][model.imageTags.primary]
title: model.name
onClicked: pageStack.push(Utils.getPageUrl(model.mediaType, model.type), {"itemId": model.id})
}