Results 1 to 3 of 3

Thread: how to make pushbutton in fixed size inside layouted group box

  1. #1
    Join Date
    Sep 2008
    Location
    Bangalore
    Posts
    658
    Thanks
    116
    Thanked 42 Times in 41 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Question how to make pushbutton in fixed size inside layouted group box

    hi friends,
    i am designed a group box inside four pushbuttons and i layout the group box .
    actually i want to keep the pushbutton size (150 X 50) so inside i adjust the size but after i layout the group box it resized to default so please anybody help me to make the pushbutton constant size...
    thank you

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,518 Times in 1,388 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: how to make pushbutton in fixed size inside layouted group box

    Set minimum and maximum size properties to the same value.
    J-P Nurmi

  3. #3
    Join Date
    Sep 2008
    Location
    Bangalore
    Posts
    658
    Thanks
    116
    Thanked 42 Times in 41 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Smile Re: how to make pushbutton in fixed size inside layouted group box

    thank you very much ... i made it...

Bookmarks

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.