Make Wallpaper Selector scrollable
This commit is contained in:
parent
a867ae4bca
commit
8585c5c729
1 changed files with 228 additions and 219 deletions
|
|
@ -13,9 +13,17 @@ Item {
|
|||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
|
||||
ColumnLayout {
|
||||
ScrollView {
|
||||
anchors.fill: parent
|
||||
clip: true
|
||||
ScrollBar.vertical.policy: ScrollBar.AsNeeded
|
||||
ScrollBar.horizontal.policy: ScrollBar.AsNeeded
|
||||
contentWidth: parent.width
|
||||
|
||||
ColumnLayout {
|
||||
width: parent.width
|
||||
spacing: Style.marginMedium * scaling
|
||||
Layout.fillWidth: true
|
||||
|
||||
NText {
|
||||
text: "Wallpaper Selector"
|
||||
|
|
@ -132,7 +140,7 @@ Item {
|
|||
// Wallpaper grid container
|
||||
Item {
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
Layout.preferredHeight: 400 * scaling
|
||||
|
||||
FolderListModel {
|
||||
id: folderModel
|
||||
|
|
@ -268,3 +276,4 @@ Item {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue