Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QToolBar's QActions text is elided



  • 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?


Log in to reply