layout fixes

This commit is contained in:
Marco Martin 2011-11-25 21:28:28 +01:00
parent 18aadf9e24
commit 544b39b04e
3 changed files with 5 additions and 11 deletions

View File

@ -140,6 +140,7 @@ Item {
left: parent.left
right: parent.right
bottom: buttonItem.top
bottomMargin: 8
}
}

View File

@ -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
}
}
}

View File

@ -142,6 +142,7 @@ Item {
left: parent.left
right: parent.right
bottom: buttonItem.top
bottomMargin: 8
}
}