Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt Design Studio v1.1 users, how to change border color of TextInput box, change color of Checkbox text
Forum Update on Monday, May 27th 2025

Qt Design Studio v1.1 users, how to change border color of TextInput box, change color of Checkbox text

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 1.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Thug
    wrote on 18 Mar 2019, 09:49 last edited by Thug
    #1

    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.

    0_1552901611486_f906e218-1ed1-44a8-9e9d-0b58a804b9dc-image.png

    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.html

    I 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.html

    0_1552902121724_fc413491-44a9-4fd6-8b2c-3bf784ca7a3b-image.png

    Are there any Qt Design Studio 1.1.0 users out there that can help me? Am I using Design Studio wrongly?

    Rgds
    HG

    1 Reply Last reply
    0
    • B Offline
      B Offline
      BrookCronin
      wrote on 18 Mar 2019, 10:27 last edited by
      #2
      1. 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.

      2. 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.

      1 Reply Last reply
      1

      1/2

      18 Mar 2019, 09:49

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved