Results 1 to 3 of 3

Thread: increase size of button on StyleSheet?

  1. #1
    Join Date
    Mar 2010
    Posts
    68
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60
    Thanks
    8
    Thanked 1 Time in 1 Post

    Default increase size of button on StyleSheet?

    My buttons place in layout, how may increase size of them in stylesheet?

    Like this:
    Qt Code:
    1. size-inc: 6px;
    2. }
    To copy to clipboard, switch view to plain text mode 
    Last edited by Kevin Hoang; 21st March 2010 at 05:42.

  2. #2
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    8
    Thanked 334 Times in 317 Posts

    Default Re: increase size of button on StyleSheet?

    how about using
    height : 20px;

  3. #3
    Join Date
    Mar 2010
    Posts
    68
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60
    Thanks
    8
    Thanked 1 Time in 1 Post

    Default Re: increase size of button on StyleSheet?

    I know height and width properties, but I want to calculate the current size and increase. My layout is fluid layout, so the button size is not fixed size.

Similar Threads

  1. Font size increase in QtableWidget
    By sosanjay in forum Qt Programming
    Replies: 1
    Last Post: 19th November 2009, 14:51
  2. Replies: 3
    Last Post: 4th September 2009, 12:49
  3. How to increase font size in arm target
    By soumya in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 2nd September 2009, 05:58
  4. Increase the size of radio buttons
    By arunvv in forum Qt Programming
    Replies: 7
    Last Post: 24th January 2009, 00:09
  5. How to increase size of QGraphicsView Dynamically
    By Kingofhearts_sri in forum Qt Programming
    Replies: 1
    Last Post: 23rd January 2009, 08:54

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.