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. In Qt 6 size hints of QSpinBox are not correct

In Qt 6 size hints of QSpinBox are not correct

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 389 Views 1 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.
  • Andy314A Offline
    Andy314A Offline
    Andy314
    wrote on last edited by Andy314
    #1

    Hello,
    I switched from the last Qt 5 to Qt 6.7.3 and recognized, that the spin buttons will be placed horizontal instead of vertical as before. Thats not the problem, I like it, but the automatic sizing of the widget width ist to small. It seem as if the width will be calculated for the old style.

    In the designer I see the old style. When I try to show a preview in "windows 11 style" the creator crases. For all other styles I get a preview.

    During runtime the app doesnt crash, but shows a to small Spinbox.

    Is this a bug or must I change something ?

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

      Use a recent Qt6 version or use the windowsvista 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

      • Login

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