Results 1 to 1 of 1

Thread: Layout dynamically resize

  1. #1
    Join Date
    Jul 2013
    Qt products
    Unix/X11 Windows

    Default Re: Layout dynamically resize

    I am new to this forum, so please excuse me if I make some mistakes.

    I want to make a registration form that keeps more than one addresses and phones. Thus I created a vertical layout and inside this horizontal layouts with custom line edits and a custom button for delete. When I add a new address for example, I made the layout to expand using minimumSizeConstraint.

    The problem is when I delete the an address the size of the layout remains the same, and I want it to colapse.

    Does anyone have any idea? or another solution (maybe an other layout arrangement or to use other widgets)

    I am happy to give more specification if I didn't made my problem clear.

    Thank's in advance,

    Added after 47 minutes:

    Nevermind my post. I solved it using fixed size constraint. But if you have an other implementation I would be more than gratefull.
    Last edited by gpetrous; 18th July 2013 at 12:04.

Similar Threads

  1. Dynamically resize text
    By antialias_forum in forum Qt Quick
    Replies: 4
    Last Post: 7th May 2011, 00:37
  2. Replies: 1
    Last Post: 14th April 2011, 11:40
  3. How to resize the QIcon inside QPushButton dynamically?
    By gboelter in forum Qt Programming
    Replies: 2
    Last Post: 18th February 2010, 13:34
  4. Dynamically resize spacing
    By trskel in forum Qt Programming
    Replies: 6
    Last Post: 28th September 2007, 12:52

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.