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. Simple Help with location of checkbox on resize to full screen
Qt 6.11 is out! See what's new in the release blog

Simple Help with location of checkbox on resize to full screen

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

    Hello,
    I am pretty new to QT but not new to C++.

    I have a custom widget that displays a graph that's updated in real time. I also have a checkbox on that graph off to the side so a user can check it and something happens to the graph. When the screen starts, the checkbox is in the correct position (because I placed it there ) but when I go to full screen its not where I want it. Its not in proportion to its original position and my graph. Its actually over some of my data.

    I am sure there is an easy way to fix this (I hope).

    Also is there a way to not have the checkbox highlighted after you checked it? It has like a shaded orange colour around it. Its pretty annoying.

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

      You should use layouts.
      You can find here examples: http://doc.qt.io/qt-5/examples-layouts.html

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

      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