layout fixes
This commit is contained in:
parent
18aadf9e24
commit
544b39b04e
@ -140,6 +140,7 @@ Item {
|
||||
left: parent.left
|
||||
right: parent.right
|
||||
bottom: buttonItem.top
|
||||
bottomMargin: 8
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -158,7 +158,7 @@ Item {
|
||||
height: sectionLabel.paintedHeight + margins.top + margins.bottom
|
||||
Label {
|
||||
id: sectionLabel
|
||||
font.pointSize: theme.defaultFont.pointSize*3
|
||||
font.pointSize: theme.defaultFont.pointSize * 1.5
|
||||
x: parent.margins.left
|
||||
y: parent.margins.top
|
||||
}
|
||||
@ -174,14 +174,7 @@ Item {
|
||||
}
|
||||
}
|
||||
}
|
||||
/*Repeater {
|
||||
id: sectionsRepeater
|
||||
delegate: Label {
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
text: Sections._sections[modelData]
|
||||
y: Sections._sectionData[modelData].index*(listView.height/listView.model.count)
|
||||
}
|
||||
}*/
|
||||
|
||||
MouseArea {
|
||||
id: dragArea
|
||||
anchors.fill: parent
|
||||
@ -195,6 +188,7 @@ Item {
|
||||
onPressed: {
|
||||
mouse.accepted = true
|
||||
handle.y = mouse.y
|
||||
fadeTimer.running = false
|
||||
}
|
||||
onReleased: fadeTimer.restart()
|
||||
|
||||
@ -226,8 +220,6 @@ Item {
|
||||
|
||||
if (listView.model.itemsRemoved)
|
||||
listView.model.itemsRemoved.connect(dirtyObserver);
|
||||
|
||||
sectionsRepeater.model = Sections._sections.length
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -142,6 +142,7 @@ Item {
|
||||
left: parent.left
|
||||
right: parent.right
|
||||
bottom: buttonItem.top
|
||||
bottomMargin: 8
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user