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. Extra line in radio group
Qt 6.11 is out! See what's new in the release blog

Extra line in radio group

Scheduled Pinned Locked Moved Solved General and Desktop
7 Posts 2 Posters 1.2k 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.
  • jronaldJ Offline
    jronaldJ Offline
    jronald
    wrote on last edited by jronald
    #1

    Env

    Linux
    Qt 6.2.0

    Problem

    1. At startup, no extra line as below
      1.png

    2. After click a button or refresh by switching windows, an extra line shows as below, and it stays there later on
      2.png

    3. three raido buttons in a groupbox, and the groupbox is in a gridlayout
      3.png

    Question

    The extra line is not as expected, is it?
    How to get rid of it?

    1 Reply Last reply
    0
    • jronaldJ jronald

      If I resize the groupbox, it can be as below
      aa50eca9-c390-4ed3-ae88-4bcce053d3d7-image.png

      jronaldJ Offline
      jronaldJ Offline
      jronald
      wrote on last edited by jronald
      #5

      @Christian-Ehrlicher

      The problem occurs when the font of the window is "Noto San CJK SC 10"
      If change it to "Noto San10", the problem disappears

      1 Reply Last reply
      0
      • Christian EhrlicherC Offline
        Christian EhrlicherC Offline
        Christian Ehrlicher
        Lifetime Qt Champion
        wrote on last edited by
        #2

        Please provide a minimal, compilable example - works fine for me in a dummy designer ui-file. Also what style do you use?

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

        jronaldJ 1 Reply Last reply
        0
        • Christian EhrlicherC Christian Ehrlicher

          Please provide a minimal, compilable example - works fine for me in a dummy designer ui-file. Also what style do you use?

          jronaldJ Offline
          jronaldJ Offline
          jronald
          wrote on last edited by jronald
          #3

          @Christian-Ehrlicher said in Extra line in radio group:

          Please provide a minimal, compilable example - works fine for me in a dummy designer ui-file. Also what style do you use?

          demo: https://uploadify.net/8d3da1e64d10febc/TestQtGUI.tar.bz2

          Steps:

          1. put a groupbox
          2. put three radio buttons in the groupbox
          3. change the layout of the groupbox to vertical layout
          4. don't modify anything now, or it may not be reproducable
          5. save, build and run
          6. click radio buttons randomly, an extra line should appear
          1 Reply Last reply
          0
          • jronaldJ Offline
            jronaldJ Offline
            jronald
            wrote on last edited by
            #4

            If I resize the groupbox, it can be as below
            aa50eca9-c390-4ed3-ae88-4bcce053d3d7-image.png

            jronaldJ 1 Reply Last reply
            0
            • jronaldJ jronald

              If I resize the groupbox, it can be as below
              aa50eca9-c390-4ed3-ae88-4bcce053d3d7-image.png

              jronaldJ Offline
              jronaldJ Offline
              jronald
              wrote on last edited by jronald
              #5

              @Christian-Ehrlicher

              The problem occurs when the font of the window is "Noto San CJK SC 10"
              If change it to "Noto San10", the problem disappears

              1 Reply Last reply
              0
              • Christian EhrlicherC Offline
                Christian EhrlicherC Offline
                Christian Ehrlicher
                Lifetime Qt Champion
                wrote on last edited by
                #6

                Ok, I don't have this font. Maybe you should open a bug report with a minimal example.

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

                jronaldJ 1 Reply Last reply
                1
                • Christian EhrlicherC Christian Ehrlicher

                  Ok, I don't have this font. Maybe you should open a bug report with a minimal example.

                  jronaldJ Offline
                  jronaldJ Offline
                  jronald
                  wrote on last edited by
                  #7

                  @Christian-Ehrlicher said in Extra line in radio group:

                  Ok, I don't have this font. Maybe you should open a bug report with a minimal example.

                  Reported, https://bugreports.qt.io/browse/QTBUG-98322

                  Thanks

                  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