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. Checkbox & Radio Button looks different in built
Forum Updated to NodeBB v4.3 + New Features

Checkbox & Radio Button looks different in built

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 934 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.
  • N Offline
    N Offline
    Nobodyxxx
    wrote on last edited by
    #1

    Hello,

    This is my first QT project. I built a GUI with QT Designer and later I copied all files (.pro, .ui, .cpp, .h, ...) from one computer to another.
    On the second computer my radio buttons and checkboxes now look different. Inside QT Designer everything looks normal, however, when I start the application, the radio buttons and checkboxes look differnet.

    For example, check this picture (This is how it looks like in QT Designer and how I want it in my application):
    0_1523267788915_1.png

    And this is how it looks like when I start it (only on my 2nd computer, on the first it looks correct):
    0_1523267810957_2.png

    I have multiple tabs in the application, in one tab the old checkboxes are displayed correctly, however, if I add more there, the new ones also look different.

    Can someone explain me what I did wrong / how to change this?

    best regards

    jsulmJ J.HilkJ 2 Replies Last reply
    0
    • N Nobodyxxx

      Hello,

      This is my first QT project. I built a GUI with QT Designer and later I copied all files (.pro, .ui, .cpp, .h, ...) from one computer to another.
      On the second computer my radio buttons and checkboxes now look different. Inside QT Designer everything looks normal, however, when I start the application, the radio buttons and checkboxes look differnet.

      For example, check this picture (This is how it looks like in QT Designer and how I want it in my application):
      0_1523267788915_1.png

      And this is how it looks like when I start it (only on my 2nd computer, on the first it looks correct):
      0_1523267810957_2.png

      I have multiple tabs in the application, in one tab the old checkboxes are displayed correctly, however, if I add more there, the new ones also look different.

      Can someone explain me what I did wrong / how to change this?

      best regards

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Nobodyxxx What operating system is running on your second computer?

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

      1 Reply Last reply
      0
      • N Nobodyxxx

        Hello,

        This is my first QT project. I built a GUI with QT Designer and later I copied all files (.pro, .ui, .cpp, .h, ...) from one computer to another.
        On the second computer my radio buttons and checkboxes now look different. Inside QT Designer everything looks normal, however, when I start the application, the radio buttons and checkboxes look differnet.

        For example, check this picture (This is how it looks like in QT Designer and how I want it in my application):
        0_1523267788915_1.png

        And this is how it looks like when I start it (only on my 2nd computer, on the first it looks correct):
        0_1523267810957_2.png

        I have multiple tabs in the application, in one tab the old checkboxes are displayed correctly, however, if I add more there, the new ones also look different.

        Can someone explain me what I did wrong / how to change this?

        best regards

        J.HilkJ Online
        J.HilkJ Online
        J.Hilk
        Moderators
        wrote on last edited by
        #3

        @Nobodyxxx
        my fist guess is, you have different scalings in your different PC's

        You should check that first.
        0_1523268613685_7fdc9872-cadb-49c2-91f0-6acfa3b67b7a-image.png


        Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


        Q: What's that?
        A: It's blue light.
        Q: What does it do?
        A: It turns blue.

        1 Reply Last reply
        0
        • N Offline
          N Offline
          Nobodyxxx
          wrote on last edited by Nobodyxxx
          #4

          Hello!

          that's really interesting. I have on both computers Windows 10, however, on the second Computer I really had a different scaling factor (150%). I now changed to 100%, now the checkboxes (from restore options) look correct, but the radio buttons don't.
          I will try to experiment with this a little bit, if someone has an idea how I can also change the radio button pls drop me a quick message.
          Thanks for the fast answers!

          edit:
          I now changed the sizes from the default size to a much bigger size, now everything looks correct. Thank you guys.

          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