Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.5.1
-
None
-
Windows 7
Windows 8.1
Windows 10
Description
Part of the MenuItem text goes outside of the visible area or overlaps with shortcut text and part of the Menu title goes under the submenu indicator.
You should be able to reproduce the problem with the following QML:
LongTextInMenuBug.qml
import QtQuick 2.4 import QtQuick.Controls 1.4 ApplicationWindow { width: 250 height: 50 menuBar: MenuBar { Menu { title: "item" MenuItem { text: longText.text } } Menu { title: "menu" Menu { title: longText.text } } Menu { title: "shortcut" MenuItem { text: longText.text + " with shortcut" shortcut: "Ctrl+G" } } } Text { id: longText anchors.centerIn: parent text: "Really long text to be placed in the menu item" } }
Attachments
Issue Links
- is duplicated by
-
QTBUG-55967 Controls 1: Native MenuItems on Windows are sized incorrectly
- Reported
-
QTBUG-60372 Windows: Text in Menu is clipped for longer texts
- Closed