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.
Forum Updated to NodeBB v4.3 + New Features

QWidget size in designer form is not respected.

Scheduled Pinned Locked Moved Unsolved General and Desktop
qtablewidgetqwidget
2 Posts 2 Posters 349 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.
  • ozcanayO Offline
    ozcanayO Offline
    ozcanay
    wrote on 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
    • Christian EhrlicherC Online
      Christian EhrlicherC Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on 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

      • Login

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