Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Call for Presentations - Qt World Summit

    Unsolved Show only icons in QMacToolBar

    General and Desktop
    mac mac extras toolbar
    2
    3
    1046
    Loading More Posts
    • 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
      jimcad last edited by

      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 Reply Quote 0
      • jsulm
        jsulm Lifetime Qt Champion last edited by

        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 Reply Quote 0
        • J
          jimcad @jsulm last edited by

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

          1 Reply Last reply Reply Quote 0
          • First post
            Last post