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:
parent
382af84846
commit
eda4994aac
9 changed files with 139 additions and 22 deletions
|
@ -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})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue