filedialog: fix item size
This commit is contained in:
parent
c44d2f6474
commit
1c5beb39d7
1 changed files with 4 additions and 1 deletions
|
|
@ -15,6 +15,9 @@ GridView {
|
||||||
|
|
||||||
required property var dialog
|
required property var dialog
|
||||||
|
|
||||||
|
cellWidth: Sizes.itemWidth + Appearance.spacing.small
|
||||||
|
cellHeight: Sizes.itemWidth + Appearance.spacing.small * 2 + Appearance.padding.normal * 2 + 1
|
||||||
|
|
||||||
clip: true
|
clip: true
|
||||||
focus: true
|
focus: true
|
||||||
currentIndex: -1
|
currentIndex: -1
|
||||||
|
|
@ -73,7 +76,7 @@ GridView {
|
||||||
|
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
anchors.topMargin: Appearance.spacing.normal
|
anchors.topMargin: Appearance.padding.normal
|
||||||
|
|
||||||
asynchronous: true
|
asynchronous: true
|
||||||
implicitSize: Sizes.itemWidth - Appearance.padding.normal * 2
|
implicitSize: Sizes.itemWidth - Appearance.padding.normal * 2
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue