Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-55401

QMenu's subMenu cutting off text on dynamic text change

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 5.7.0
    • None
    • Windows 10, Qt 5.7.0 MSVC2015 32bit, MV C++ Compiler 14.0(x86)

    Description

      I am adding subMenu as QWidgetAction in QMenu, where QWidgetAction contains QLabel with some setText ("Menu") as a default Widget . And sub menu's text looks very well as "Menu". But if we change the text of QLabel dynamically (which i am doing through timer in attached test app) from "Menu" to ""Changed Menu Text" then text cuts off.

      Please find test app in attachment.

      Attachments

        1. QMenuTesting.zip
          7 kB
        2. incorrectMenu.png
          incorrectMenu.png
          2 kB
        3. correctMenu.png
          correctMenu.png
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            bachewii Jens
            zee_07 Mohd Zeeshan Farooque
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes