Qt Design Studio v1.1 users, how to change border color of TextInput box, change color of Checkbox text
-
Hi, I'm a noob at using Qt and a non-programmer (shame! shame!), so pls pardon the less-than-intelligent questions.
I want to change the border color of a "TextInput 3" box (pls see screenshot below), but there is not such option in the Navigator tab.
From the following documentation link, it seems like there is no "border color" properties that can be changed?
https://doc.qt.io/qt-5/qml-qtquick-textinput.htmlI also want to change the text color of a "CheckBox1", but there also seems to be no such properties (see screen below). I also don't see text color properties in the following documentation.
https://doc.qt.io/qt-5/qml-qtquick-controls2-checkbox.htmlAre there any Qt Design Studio 1.1.0 users out there that can help me? Am I using Design Studio wrongly?
Rgds
HG -
-
Text input doesn't have a border property so i would use it in conjunction with Studio Component Border, if you want to get it to change color depending on the focus of the text input you would need to model that with states.
-
Unfortunately not easily, you can over-ride the checkbox styles with Quick Controls Style, - https://doc.qt.io/qt-5/qtquickcontrols2-customize.html#customizing-checkbox We are looking into ways of making this more Designer Friendly.
Best,
Brook.
-