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. layoutStretch is applied in Qt Designer but not in the preview window
Forum Updated to NodeBB v4.3 + New Features

layoutStretch is applied in Qt Designer but not in the preview window

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

    Hi. I have this simple window in Qt Designer with a vertical layout and some horizontal layouts, each of which contains some widgets.
    I set layoutStretch 25,25,50,0 of the vertical layout and it is correctly shown in the designer window
    stretch-0.png
    When I preview the window, the stretch values are not taken in consideration
    stretch-1.png
    It doesn't matter which values I put, they are not used in the actual window.

    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