Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Designer v6.4.2: Dark UI issues?

Qt Designer v6.4.2: Dark UI issues?

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
qt designerdark mode
3 Posts 2 Posters 826 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.
  • C Offline
    C Offline
    CJha
    wrote on 17 Feb 2023, 08:02 last edited by CJha
    #1

    Hi, I have recently installed Qt 6.4.2. I am using Qt with Visual Studio 2022 with the extension Qt VS Tools. In this new version of Qt Designer the Form UI has a dark background while the rest of the UI has a light background, this was not the case with v6.3.0. In this dark Form UI most of the things work fine but the QSpinBox widget has a white background for texts while also having the text in white, this makes it impossible to see the text inside the QSpinBox. This problem persists even in the preview. See pictures below:

    Qt Designer v6.4.2
    Qt_Designer_Problem_1_17-02-23.png

    Preview of the Form:
    Qt_Designer_Problem_2_17-02-23.png

    If I change my Windows theme to Light theme then this problem disappears. But there is no way to toggle the the theme of the Qt Designer from any settings inside the Qt Designer. I also tried to change the theme of Qt Creator v6.4.2 to a light theme thinking that it might affect the Qt Designer, but it doesn't.

    This is very annoying as I use a lot of QSpinBox in my .ui files, and any project linked with Qt v6.4.2 will by default open it's .ui file with Qt Designer v6.4.2. Is there any way I can fix the issue except for forcing myself to use everything in light mode?

    J 1 Reply Last reply 18 Feb 2023, 05:42
    0
    • C Christian Ehrlicher moved this topic from General and Desktop on 17 Feb 2023, 08:16
    • C CJha
      17 Feb 2023, 08:02

      Hi, I have recently installed Qt 6.4.2. I am using Qt with Visual Studio 2022 with the extension Qt VS Tools. In this new version of Qt Designer the Form UI has a dark background while the rest of the UI has a light background, this was not the case with v6.3.0. In this dark Form UI most of the things work fine but the QSpinBox widget has a white background for texts while also having the text in white, this makes it impossible to see the text inside the QSpinBox. This problem persists even in the preview. See pictures below:

      Qt Designer v6.4.2
      Qt_Designer_Problem_1_17-02-23.png

      Preview of the Form:
      Qt_Designer_Problem_2_17-02-23.png

      If I change my Windows theme to Light theme then this problem disappears. But there is no way to toggle the the theme of the Qt Designer from any settings inside the Qt Designer. I also tried to change the theme of Qt Creator v6.4.2 to a light theme thinking that it might affect the Qt Designer, but it doesn't.

      This is very annoying as I use a lot of QSpinBox in my .ui files, and any project linked with Qt v6.4.2 will by default open it's .ui file with Qt Designer v6.4.2. Is there any way I can fix the issue except for forcing myself to use everything in light mode?

      J Offline
      J Offline
      JKSH
      Moderators
      wrote on 18 Feb 2023, 05:42 last edited by
      #2

      @CJha said in Qt Designer v6.4.2: Dark UI issues?:

      In this dark Form UI most of the things work fine but the QSpinBox widget has a white background for texts while also having the text in white, this makes it impossible to see the text inside the QSpinBox. This problem persists even in the preview.

      Looks like a bug. See if there is an existing bug report, and open one if there isn't: https://bugreports.qt.io/

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      C 1 Reply Last reply 18 Feb 2023, 16:45
      0
      • J JKSH
        18 Feb 2023, 05:42

        @CJha said in Qt Designer v6.4.2: Dark UI issues?:

        In this dark Form UI most of the things work fine but the QSpinBox widget has a white background for texts while also having the text in white, this makes it impossible to see the text inside the QSpinBox. This problem persists even in the preview.

        Looks like a bug. See if there is an existing bug report, and open one if there isn't: https://bugreports.qt.io/

        C Offline
        C Offline
        CJha
        wrote on 18 Feb 2023, 16:45 last edited by CJha
        #3

        @JKSH Couldn't find a bug report for this issue so I created a new bug report: link

        1 Reply Last reply
        1

        2/3

        18 Feb 2023, 05:42

        • Login

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