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. Layout of fixed size objects and one object that changes size
Forum Updated to NodeBB v4.3 + New Features

Layout of fixed size objects and one object that changes size

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

    I have a QFrame that contains a QListWidget, multiple QLineEdits and a couple of QPushButtons. One of the QLineEdits has to change size depending on what text is input. I can get the object to change size automatically, but if enough text is entered it will try to past the edge of the QFrame. Is there a way to expand past the QFrame and show all the text being input? Possibly a QHBoxLayout?

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

      Hi,

      AFAIK, the only way to do that would be to remove the widget from the layout it's in and you manage yourself its new independent life (e.g. resizing and moving).

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      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