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. QToolBar's QActions text is elided

QToolBar's QActions text is elided

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 215 Views 2 Watching
  • 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.
  • V Offline
    V Offline
    Vadi2
    wrote on last edited by
    #1

    When I make a new toolbar and add buttons into it:

        mpActionTriggers = new QAction(QIcon(QStringLiteral(":/icons/tools-wizard.png")), tr("Triggers"), this);
        mpActionTriggers->setToolTip(tr("Show and edit triggers"));
        mpMainToolBar->addAction(mpActionTriggers);
        mpActionTriggers->setObjectName(QStringLiteral("triggers_action"));
        mpMainToolBar->widgetForAction(mpActionTriggers)->setObjectName(mpActionTriggers->objectName());
    

    On Windows only, at launch text is elided:

    0_1562787244917_53a30b6f-34e6-4191-b947-71f5ba553365-image.png

    It's not elided on other platforms like Linux and macOS. Anyone know how to fix?

    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