Results 1 to 9 of 9

Thread: resize buttons inside

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2006
    Posts
    96

    Default Re: resize buttons inside

    Here:

    http://shrani.si/f/1I/Ll/35PBS70r/snapshot24.png

    You see those buttons not using all the space?

  2. #2
    Join Date
    Nov 2006
    Posts
    96

    Default Re: resize buttons inside

    Does anybody know?

  3. #3
    Join Date
    Aug 2006
    Location
    Bangalore,India
    Posts
    419
    Thanks
    37
    Thanked 53 Times in 40 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: resize buttons inside

    Try setting this sizepolicy for all the buttons
    Qt Code:
    1. button->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
    To copy to clipboard, switch view to plain text mode 
    The biggest difference between time and space is that you can't reuse time.
    -- Merrick Furst

  4. #4
    Join Date
    Nov 2006
    Posts
    96

    Default Re: resize buttons inside

    You're the man, it works. Thank you

  5. #5
    Join Date
    Jan 2006
    Location
    Ljubljana
    Posts
    687
    Thanks
    111
    Thanked 4 Times in 4 Posts
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: resize buttons inside

    eleanor, but that widget is way to big!!!! Make it smaller!!!!
    Qt 5.3 Opensource & Creator 3.1.2

Similar Threads

  1. postponing resize event
    By Honestmath in forum Qt Programming
    Replies: 11
    Last Post: 26th February 2006, 00:32

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
  •  
Qt is a trademark of The Qt Company.