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. QFormLayout visible spacing when hiding lines
Qt 6.11 is out! See what's new in the release blog

QFormLayout visible spacing when hiding lines

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

    Hi all,
    As title says, I'm facing a problem when using QFormLayout.
    I want to hide some lines of the layout according to a checkbox state.
    It should have been a piece of cake but the spacing of the hidden lines remains as they are hidden, resulting in an ugly UI.
    I found an old reference to the same problem (follow the link below to see it).

    Re: Layout spacing when widgets are hidden

    And this is the new link to the recorded "bug" in the bugs database.

    https://bugreports.qt.io/browse/QTBUG-6864

    Does anyone know of a solution/workaround for this behaviour?

    Thanks in advance and may the code be with you ^_^

    There is no problem, there are only solutions. :)

    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