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. QPushButton breaks QFormLayout on Mac
Forum Updated to NodeBB v4.3 + New Features

QPushButton breaks QFormLayout on Mac

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 592 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.
  • Y Offline
    Y Offline
    yura-vel
    wrote on last edited by
    #1

    I use QLineEdit and QPushbutton in the form layout, like scribed "here":http://blog.qt.digia.com/blog/2008/07/07/usage-of-the-qformlayout/
    In result the spacing between rows in the form are broken.

    The similar problem discussed "here":http://stackoverflow.com/questions/18612370/qpushbutton-creates-empty-space-on-mac-os-x-resulting-in-ugly-layouts (look at the snapshots).

    But efficient solution not have been proposed.
    How to remove extra spacing?

    setContentsMargins applied to button or layout has no effect

    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