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. Spinbox issue
Forum Updated to NodeBB v4.3 + New Features

Spinbox issue

Scheduled Pinned Locked Moved Solved General and Desktop
7 Posts 4 Posters 856 Views 3 Watching
  • 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.
  • A Offline
    A Offline
    Alan Bax
    wrote on last edited by Alan Bax
    #1

    Hi All

    I have been using QT(Via Visual Studio) without problems but since i updated QT to 6.8 my spinboxes seem to have developed a small issue.

    1. the arrows are now side by side instead of one above the other.
    2. the plus minus option(via buttonSymbols) doesn't have any affect(even by manual coding). it still displays arrows but the NoButtons option works fine.

    My program uses quite a large number of spinboxes but since the upgrade the arrows now block out 2 of the 3 decimal values(spinbox fixed value 0-255 with roll around).

    Before posting i just created a simple blank gui on QT creator with 2 spinboxes(the large one is set to arrows and the small one is set to plusminus) the same problem exists.

    I have tried this on 6.8 and 6.71(i was on 6.6 before).

    377031d1-4537-4321-bc77-c1f3c8bbdeeb-image.png

    As can be seen the arrows are side by side.

    0638601e-f0ed-418e-afd8-04d91059e4f6-image.png

    I'm scratching my head a bit here and hope someone can help my if i am missing the obvious.

    Thanks.
    Alan

    1 Reply Last reply
    1
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Can you try to force the style used to the vista style ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • Pl45m4P Pl45m4 referenced this topic on
      • A Offline
        A Offline
        Alan Bax
        wrote on last edited by
        #3

        Hi
        Thanks for the reply.

        Could you give me a quick example how to do this(i am just reinstalling 6.8 at the moment so i could be missing very simple step)?.

        Thanks again

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

          See https://doc.qt.io/qt-6/qstyle.html#setting-a-style on how to set 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
          1
          • Axel SpoerlA Offline
            Axel SpoerlA Offline
            Axel Spoerl
            Moderators
            wrote on last edited by
            #5

            That’s a bug: https://bugreports.qt.io/browse/QTBUG-124235
            It’s going to be fixed before we release 6.8.

            Software Engineer
            The Qt Company, Oslo

            1 Reply Last reply
            2
            • A Offline
              A Offline
              Alan Bax
              wrote on last edited by
              #6

              Thanks all for the reply's.

              1 Reply Last reply
              0
              • A Offline
                A Offline
                Alan Bax
                wrote on last edited by
                #7

                Rolled back to 6.6.3 and all is now fine.

                I have now marked this as solved as we know what the issue is.

                1 Reply Last reply
                0
                • A Alan Bax has marked this topic as solved on

                • Login

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