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. Radio button circle becomes colored in when using a scroll area Qt6 on Windows

Radio button circle becomes colored in when using a scroll area Qt6 on Windows

Scheduled Pinned Locked Moved Unsolved General and Desktop
radiobuttonscrollarea
2 Posts 2 Posters 107 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.
  • W Offline
    W Offline
    Will
    wrote on last edited by
    #1

    I'm moving a Qt5 project to Qt6.7 on Windows and have come across what appears to be a weird thing with how radio buttons are rendered. Instead of having an outline circle showing the highlighting, the entire circle of the radio button is also colored in.

    I've narrowed it down to occurring when the widgets are placed within in scroll area. In the example below, the bottom groupbox is inside a scroll area widget. That seems to cause any radio buttons to be rendered that way. Also the entire scroll area has a lighter gray background. Testing on Windows 11.

    2cef1ab0-a585-4e1d-a7ec-185a60deeef2-image.png

    Question 1: Is this normal / expected?

    Question 2: Can this be turned off?

    Christian EhrlicherC 1 Reply Last reply
    0
    • W Will

      I'm moving a Qt5 project to Qt6.7 on Windows and have come across what appears to be a weird thing with how radio buttons are rendered. Instead of having an outline circle showing the highlighting, the entire circle of the radio button is also colored in.

      I've narrowed it down to occurring when the widgets are placed within in scroll area. In the example below, the bottom groupbox is inside a scroll area widget. That seems to cause any radio buttons to be rendered that way. Also the entire scroll area has a lighter gray background. Testing on Windows 11.

      2cef1ab0-a585-4e1d-a7ec-185a60deeef2-image.png

      Question 1: Is this normal / expected?

      Question 2: Can this be turned off?

      Christian EhrlicherC Online
      Christian EhrlicherC Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Will said in Radio button circle becomes colored in when using a scroll area Qt6 on Windows:

      Question 1: Is this normal / expected?

      Yes since it's the windows 11 style

      Question 2: Can this be turned off?

      Yes, use the windowsvista style: https://doc.qt.io/qt-6/qstyle.html#setting-a-style

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      0

      • Login

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