Commit e6061b65 authored by Chupligin Sergey's avatar Chupligin Sergey

[examples] Fix selectRoller page

parent 5584bd4a
...@@ -11,8 +11,10 @@ Page { ...@@ -11,8 +11,10 @@ Page {
Column { Column {
spacing: 40 spacing: 40
width: parent.width
anchors{ anchors{
fill: parent; top: parent.top
topMargin: 40
} }
ListModel { ListModel {
...@@ -37,10 +39,6 @@ Page { ...@@ -37,10 +39,6 @@ Page {
GlacierRoller { GlacierRoller {
id: simpleRoller id: simpleRoller
width: parent.width width: parent.width
anchors{
top: parent.top
topMargin: 40
}
clip: true clip: true
model: animalsModel model: animalsModel
...@@ -59,10 +57,6 @@ Page { ...@@ -59,10 +57,6 @@ Page {
GlacierRoller { GlacierRoller {
id: simpleRoller2 id: simpleRoller2
width: parent.width width: parent.width
anchors{
top: simpleRoller.bottom
topMargin: 40
}
clip: true clip: true
model: animalsModel model: animalsModel
......
...@@ -219,8 +219,8 @@ ApplicationWindow { ...@@ -219,8 +219,8 @@ ApplicationWindow {
model: pageModel model: pageModel
anchors.fill: parent anchors.fill: parent
clip: true clip: true
delegate: AndroidDelegate { delegate: ListViewItemWithActions {
text: title label: title
onClicked: pageItem.Stack.view.push(Qt.resolvedUrl(page)) onClicked: pageItem.Stack.view.push(Qt.resolvedUrl(page))
} }
} }
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
<file>content/SliderPage.qml</file> <file>content/SliderPage.qml</file>
<file>content/TabBarPage.qml</file> <file>content/TabBarPage.qml</file>
<file>content/TextInputPage.qml</file> <file>content/TextInputPage.qml</file>
<file>content/SelectRollerPage.qml</file>
<file>images/button_default.png</file> <file>images/button_default.png</file>
<file>images/button_pressed.png</file> <file>images/button_pressed.png</file>
<file>images/navigation_next_item.png</file> <file>images/navigation_next_item.png</file>
......
...@@ -22,7 +22,8 @@ OTHER_FILES += \ ...@@ -22,7 +22,8 @@ OTHER_FILES += \
content/LabelPage.qml \ content/LabelPage.qml \
content/CheckboxPage.qml \ content/CheckboxPage.qml \
content/ButtonRowPage.qml \ content/ButtonRowPage.qml \
content/QueryDialogPage.qml content/QueryDialogPage.qml \
content/SelectRollerPage.qml
RESOURCES += \ RESOURCES += \
resources.qrc resources.qrc
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment