Fix header item warning

pull/11/head
cutefishd 5 years ago
parent adca1b382b
commit 72a54fcf93

@ -83,7 +83,7 @@ ItemPage {
cellWidth: calcExtraSpacing(itemWidth, _view.width) + itemWidth
property int itemWidth: 250
property int itemHeight: 150
property int itemHeight: 170
delegate: Item {
id: item

@ -39,14 +39,14 @@ Meui.Window {
Label {
text: rootWindow.title
leftPadding: Meui.Units.largeSpacing + Meui.Units.smallSpacing
font.pointSize: parent.height / 3
font.pointSize: parent.height > 0 ? parent.height / 3 : 1
Layout.preferredWidth: sideBar.width
Layout.alignment: Qt.AlignBottom
}
Label {
text: stackView.currentItem.headerTitle
font.pointSize: parent.height / 3
font.pointSize: parent.height > 0 ? parent.height / 3 : 1
leftPadding: Meui.Units.largeSpacing + Meui.Units.smallSpacing
Layout.alignment: Qt.AlignBottom
}

Loading…
Cancel
Save