Results 1 to 1 of 1

Thread: QComboBox stylesheet text [SOLVED]

  1. #1
    Join Date
    May 2013
    Posts
    321
    Thanks
    9
    Thanked 8 Times in 8 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default QComboBox stylesheet text [SOLVED]

    Hi,
    As you can see on this screenshot :
    http://zupimages.net/up/15/03/sp8w.png
    The property "ProjectionMode" is not aligned with other.
    Is it possible to add 2px of padding on the QComboBox text in stylesheet ?
    If not possible, derivate the QComboBox to reimplement paint is the only solution ?
    Thanks for the help

    EDIT SOLVED :
    Qt Code:
    1. {
    2. padding-left: 6px;
    3. }
    To copy to clipboard, switch view to plain text mode 
    Last edited by Alundra; 14th January 2015 at 23:50.

Similar Threads

  1. Qt Stylesheet and QComboBox with property
    By vnuss in forum Qt Programming
    Replies: 0
    Last Post: 2nd October 2013, 09:06
  2. Replies: 6
    Last Post: 16th April 2013, 08:30
  3. Stylesheet on QComboBox.
    By jos in forum Newbie
    Replies: 1
    Last Post: 5th December 2010, 10:08
  4. Replies: 4
    Last Post: 2nd December 2010, 14:57
  5. Replies: 0
    Last Post: 16th July 2009, 15:58

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.