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. [SOLVED] Problem with UI designer...
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] Problem with UI designer...

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.3k 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.
  • L Offline
    L Offline
    Leon
    wrote on last edited by
    #1

    so these widgets are layouted horizontally..
    as u can see the word in the first combobox is cutted..

    !http://i.imgur.com/L98AE.png(1)!

    if i try to increase the width of the layout it increases the layout "till" and not the combobox.. why?

    !http://i.imgur.com/PXisA.png(2)!

    i don't want to use maximum/minimum width because the application will not be only in english..

    1 Reply Last reply
    0
    • ZlatomirZ Offline
      ZlatomirZ Offline
      Zlatomir
      wrote on last edited by
      #2

      Does that combo have a Expanding/MinimumExpanding horizontal policy?
      You can also play with stretch factors to have one widget grow more than others: "doc link":http://doc.qt.digia.com/qt/qsizepolicy.html#setHorizontalStretch

      https://forum.qt.io/category/41/romanian

      1 Reply Last reply
      0
      • L Offline
        L Offline
        Leon
        wrote on last edited by
        #3

        I totally forgot about it.
        i changed sizeadjustpolicy to adjust to contents and it works :)

        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