Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Show only icons in QMacToolBar
Forum Update on Monday, May 27th 2025

Show only icons in QMacToolBar

Scheduled Pinned Locked Moved Unsolved General and Desktop
macmac extrastoolbar
3 Posts 2 Posters 1.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jimcad
    wrote on last edited by
    #1

    I have use QMacToolBar from macextras and it works properly. But have not figured how to show toolbar only with icons, without texts. All help is much appreciated.

    1 Reply Last reply
    0
    • jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      What happens if you provide an icon and empty string as text?

      addItem(const QIcon & icon, const QString & text)
      

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      J 1 Reply Last reply
      0
      • jsulmJ jsulm

        What happens if you provide an icon and empty string as text?

        addItem(const QIcon & icon, const QString & text)
        
        J Offline
        J Offline
        jimcad
        wrote on last edited by
        #3

        @jsulm Well, texts are not displayed but height of toolbar is too large.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved