Thank you for your answerd, I tried this, but still having a lot of problems, I added this to my Page:
Page {
id: register
navigationBarTranslucency: 1.0
title:""
backgroundColor: Theme.secondaryBackgroundColor
titleItem: NavigationBarRow {
Text {
text: "Regístrate"
font.family: roboto.name
font.pixelSize: dp(20)
font.bold:true
font.weight: Font.Bold
color: "black"
anchors.centerIn: parent
}
}
...
...
}
However, in one page works, but on the next dosen’t, I new on QML, so I don’t know what Im doing wrong
first page:
https://pasteboard.co/IckdkFs.png
second page:
https://pasteboard.co/Ickczqhw.png
Same code for the header on both pages, just different id and content
What Im doing wrong?
EDIT: I also getting this error on the page where this works:
qrc:/qml/VPlayApps/navigation/NavigationBarRow.qml:292: QML Row: Cannot specify left, right, horizontalCenter, fill or centerIn anchors for items inside Row. Row will not function.