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. -
-
@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
QtQuick.Controls 1.3
andQtQuick.Controls.Styles 1.3
onQt 5.4.1
-
-
@sosun Not sure. Does it work separately ? I mean in the project which doesnot have those custom qml components included.
-
@p3c0 Yep, it works! I had to test this case before creating new thread. Anyway, thanks! I'll open an issue on GitHub.