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. QWidget size in designer form is not respected.

QWidget size in designer form is not respected.

Scheduled Pinned Locked Moved Unsolved General and Desktop
qtablewidgetqwidget
2 Posts 2 Posters 308 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.
  • O Offline
    O Offline
    ozcanay
    wrote on 27 Dec 2022, 10:23 last edited by
    #1

    Hi,

    I have a problem in which the widget design that I am seeing in the form file is not reflected properly to the actual widget displayed at runtime. I am inserting these custom widgets to a QTableWidget.

    I have tried to change size settings and policies to no avail.

    What I see in the form:

    Screenshot from 2022-12-27 13-20-18.png

    What I see at runtime:

    Screenshot from 2022-12-27 13-20-50.png

    As it can be observed from the images, groupbox that contains radio buttons has disappeared. How can I enforce that they are shown.

    Thanks

    1 Reply Last reply
    0
    • C Offline
      C Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on 27 Dec 2022, 17:47 last edited by
      #2

      According your first picture you're missing a layout on the widget.

      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

      2/2

      27 Dec 2022, 17:47

      • Login

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