Results 1 to 2 of 2

Thread: Text appears under the icon in QMenubar, how to?

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

    Default Text appears under the icon in QMenubar, how to?

    I have a problem about QMenuBar and Drop Down menu. I want to set the text appears under the icon in QMenuBar, but I don't know how to to this.

    Another problem: The icon in QMenu is too small, but I cannot change to bigger.

    Help me!

  2. #2
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Thanks
    8
    Thanked 133 Times in 128 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Text appears under the icon in QMenubar, how to?

    I think you need to implement your own QStyle for the menu. The icon itself can contain the text.

Similar Threads

  1. QTabWidget with no text and icon
    By martinn in forum Qt Programming
    Replies: 12
    Last Post: 22nd April 2015, 12:04
  2. [QPushButton] text below icon
    By Tomasz in forum Newbie
    Replies: 10
    Last Post: 3rd December 2010, 15:06
  3. Text shifts when control appears...
    By MrGarbage in forum Qt Programming
    Replies: 4
    Last Post: 18th January 2008, 03:12
  4. Text under the Icon
    By QiT in forum Newbie
    Replies: 3
    Last Post: 1st April 2007, 17:42
  5. Icon Text Alignment
    By nupul in forum Newbie
    Replies: 3
    Last Post: 1st May 2006, 04:47

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.