Unable to edit TextField font size
-
I'm unable to edit font size of
TextField
. Here's my code:TextField { id: textField TextFieldStyle { font.pointSize: 15 } placeholderText: "BlaBla" }
I've also tried a case with capitalized
F
likeTextFieldStyle { Font.pointSize: 15 }
, because this was in auto-suggestions, but compiler keep saying Cannot assign to non-existent property "font" in the first case and Non-existent attached object in the second one. -
I'm unable to edit font size of
TextField
. Here's my code:TextField { id: textField TextFieldStyle { font.pointSize: 15 } placeholderText: "BlaBla" }
I've also tried a case with capitalized
F
likeTextFieldStyle { Font.pointSize: 15 }
, because this was in auto-suggestions, but compiler keep saying Cannot assign to non-existent property "font" in the first case and Non-existent attached object in the second one. -
-
@p3c0 hmm, can you tell me what
import
s you're using, because it gives me an error: Cannot assign to non-existent property "style" -
-
@sosun Not sure. Does it work separately ? I mean in the project which doesnot have those custom qml components included.