Results 1 to 4 of 4

Thread: How to resize a Button

Threaded View

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

    Default Re: How to resize a Button

    You are not supposed to resize widgets managed by a layout by hand. It's the layout's responsibility to provide sufficient geometries. There are numerous ways to adjust the behavior. Size hints, size policies, stretch factors and spacers, spacings, margins, nested layouts etc. I'd suggest starting with reading about layout classes and going through the basic examples.

    If in doubt, provide a screenshot of what you've got so far and explain how would you like it to be and we might be able to give hints.
    J-P Nurmi

  2. The following user says thank you to jpn for this useful post:

    viking (27th April 2007)

Similar Threads

  1. Disable Checkable Button Question
    By jbpvr in forum Qt Programming
    Replies: 9
    Last Post: 20th March 2007, 17:57
  2. Custom Shape Widget (resize)
    By PiXeL16 in forum Qt Programming
    Replies: 7
    Last Post: 12th February 2007, 07:00
  3. Mouse Over event on button
    By vishal.chauhan in forum Qt Programming
    Replies: 9
    Last Post: 10th January 2007, 05:03
  4. postponing resize event
    By Honestmath in forum Qt Programming
    Replies: 11
    Last Post: 26th February 2006, 00:32
  5. Push button double click
    By curtisw in forum Qt Programming
    Replies: 3
    Last Post: 15th February 2006, 16:40

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.