×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Apr 2010
    Posts
    21

    How to setStyleSheet of QMenu item

    Hi all
    I have a question for QMenu by setStyleSheet function, but I dont know how to write the context of CSS for align-center about QAction's text.
    thanks.


    Br,
    Mecland

  2. #2
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: How to setStyleSheet of QMenu item


  3. #3
    Super Contributor
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209

    Re: How to setStyleSheet of QMenu item

    Have you reviewed this documentation: http://doc.qt.nokia.com/4.6-snapshot/stylesheet.html

    And, in particular, the object-specific details here: http://doc.qt.nokia.com/4.6-snapshot...reference.html

  4. #4
    Registered User
    Join Date
    Apr 2010
    Posts
    21

    Re: How to setStyleSheet of QMenu item

    Hi all

    I dont know the QMenu have text-align property in CSS too, but I will try do it.
    thanks


    Regards
    Mecland

  5. #5
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: How to setStyleSheet of QMenu item


Similar Threads

  1. QMenu Item Color
    By vishalrocks101 in forum Qt
    Replies: 15
    Last Post: 2010-02-08, 06:42
  2. Big Issues and no reply from Ovi Support: Item no longer available on Ovi Store
    By BlackTomcat in forum [Closed] Publishing to Nokia Store
    Replies: 4
    Last Post: 2009-06-20, 14:19
  3. Listbox deletion problem with bottom item
    By gailu in forum Symbian
    Replies: 3
    Last Post: 2008-08-22, 11:47
  4. how to get the position of a cascaded item in a menu?
    By GeKI in forum Symbian User Interface
    Replies: 1
    Last Post: 2006-05-18, 15:47
  5. Custom item not displayed correctly
    By kakoskin in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2004-10-11, 21:50

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×