fixed margins on PageSetupWizardApiServicesList
This commit is contained in:
parent
74169ef7b3
commit
7420226b7c
1 changed files with 3 additions and 9 deletions
|
|
@ -55,20 +55,13 @@ PageType {
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
anchors.topMargin: 16
|
anchors.topMargin: 16
|
||||||
anchors.bottomMargin: 16
|
spacing: 0
|
||||||
spacing: 16
|
|
||||||
|
|
||||||
currentIndex: 1
|
currentIndex: 1
|
||||||
clip: true
|
clip: true
|
||||||
model: ApiServicesModel
|
model: ApiServicesModel
|
||||||
|
|
||||||
ScrollBar.vertical: ScrollBar {
|
ScrollBar.vertical: ScrollBar {}
|
||||||
id: scrollBar
|
|
||||||
policy: servicesListView.height >= servicesListView.contentHeight ? ScrollBar.AlwaysOff : ScrollBar.AlwaysOn
|
|
||||||
}
|
|
||||||
|
|
||||||
Keys.onUpPressed: scrollBar.decrease()
|
|
||||||
Keys.onDownPressed: scrollBar.increase()
|
|
||||||
|
|
||||||
delegate: Item {
|
delegate: Item {
|
||||||
implicitWidth: servicesListView.width
|
implicitWidth: servicesListView.width
|
||||||
|
|
@ -85,6 +78,7 @@ PageType {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.rightMargin: 16
|
Layout.rightMargin: 16
|
||||||
Layout.leftMargin: 16
|
Layout.leftMargin: 16
|
||||||
|
Layout.bottomMargin: 16
|
||||||
|
|
||||||
headerText: name
|
headerText: name
|
||||||
bodyText: cardDescription
|
bodyText: cardDescription
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue