Hello, As example, let's suppose I would like to change font name for a TextField only in case it contains "test" text.
What is the best way to do it in QML? Is there any special syntax maybe?
TextField {
font.family: text.contains("test") ? "Inter" : DONT_CHANGE_PROPERTY
}
_______________________________________________ Interest mailing list [email protected] https://lists.qt-project.org/listinfo/interest
