better sizing uploaded images
This commit is contained in:
parent
9e7d735a3b
commit
b307fa81be
1 changed files with 1 additions and 1 deletions
|
@ -309,7 +309,7 @@ Page {
|
||||||
height: mediaModel.count ? Theme.itemSizeExtraLarge : 0
|
height: mediaModel.count ? Theme.itemSizeExtraLarge : 0
|
||||||
model: mediaModel
|
model: mediaModel
|
||||||
cellWidth: uploadedImages.width / 4
|
cellWidth: uploadedImages.width / 4
|
||||||
cellHeight: Theme.itemSizeExtraLarge
|
cellHeight: isPortrait ? cellWidth : Theme.itemSizeExtraLarge
|
||||||
delegate: BackgroundItem {
|
delegate: BackgroundItem {
|
||||||
id: myDelegate
|
id: myDelegate
|
||||||
width: uploadedImages.cellWidth
|
width: uploadedImages.cellWidth
|
||||||
|
|
Loading…
Reference in a new issue