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. why the arrow style of spinbox is different between design stage and running stage?

why the arrow style of spinbox is different between design stage and running stage?

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 4 Posters 335 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.
  • D Offline
    D Offline
    dudeGun
    wrote on last edited by
    #1

    Hi,
    I'm using Qt version 6.6.3. I designed the interface with QTCreator,after putting the components such as Spinbox,Combo Box and Font Combo box which have arrows,I try to run it. To my suprise, the arrow style is changed which is not supposed to be. Could anybody help me? thanks.
    attches two pics, the first shows the arrow the designed.png run.png design stage, the second shows the one in running stage.

    1 Reply Last reply
    0
    • jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Because designer uses different theme.
      When you start your application it either system theme or the theme you explicitly specified.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      D 1 Reply Last reply
      0
      • jsulmJ jsulm

        Because designer uses different theme.
        When you start your application it either system theme or the theme you explicitly specified.

        D Offline
        D Offline
        dudeGun
        wrote on last edited by
        #3

        @jsulm it works. thank you very much.

        1 Reply Last reply
        0
        • richferraraR Offline
          richferraraR Offline
          richferrara
          wrote on last edited by
          #4

          What exactly do you have to do to get it looking like the first picture again?

          cristian-adamC 1 Reply Last reply
          0
          • richferraraR richferrara

            What exactly do you have to do to get it looking like the first picture again?

            cristian-adamC Online
            cristian-adamC Online
            cristian-adam
            wrote on last edited by
            #5

            @richferrara said in why the arrow style of spinbox is different between design stage and running stage?:

            What exactly do you have to do to get it looking like the first picture again?

            Looks like the Fusion theme, which was popping up on Windows when using fractional scalling.

            The application was started and the Windows 11 style.

            You can start any application on command line with -style Fusion to get this style.

            1 Reply Last reply
            0
            • richferraraR Offline
              richferraraR Offline
              richferrara
              wrote on last edited by
              #6
              This post is deleted!
              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