HPage: fix header text vertical centering
This commit is contained in:
parent
c0adf8353b
commit
e3165d0a7c
|
@ -50,21 +50,17 @@ SwipeView {
|
||||||
Behavior on height { HNumberAnimation {} }
|
Behavior on height { HNumberAnimation {} }
|
||||||
visible: height > 0
|
visible: height > 0
|
||||||
|
|
||||||
HRowLayout {
|
|
||||||
width: parent.width
|
|
||||||
|
|
||||||
HLabel {
|
HLabel {
|
||||||
id: innerHeaderLabel
|
id: innerHeaderLabel
|
||||||
|
anchors.fill: parent
|
||||||
textFormat: Text.StyledText
|
textFormat: Text.StyledText
|
||||||
font.pixelSize: theme.fontSize.big
|
font.pixelSize: theme.fontSize.big
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
|
|
||||||
Layout.leftMargin: currentSpacing
|
leftPadding: currentSpacing
|
||||||
Layout.rightMargin: Layout.leftMargin
|
rightPadding: leftPadding
|
||||||
Layout.fillWidth: true
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user