From e7872b5e4ea774f880a0ba59c226093555ecb20c Mon Sep 17 00:00:00 2001 From: Kitteh Date: Fri, 2 Nov 2018 08:09:18 +0000 Subject: [PATCH] [UI] Fix OPEN_FILE name. --- src/qml/CustomMenuItem.qml | 5 ++--- src/qml/main.qml | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/qml/CustomMenuItem.qml b/src/qml/CustomMenuItem.qml index b0b82d1..e8b1835 100644 --- a/src/qml/CustomMenuItem.qml +++ b/src/qml/CustomMenuItem.qml @@ -9,7 +9,6 @@ MenuItem { property string fontName: "Roboto" } id: menuItem - implicitWidth: 100 implicitHeight: 20 contentItem: Text { @@ -25,8 +24,8 @@ MenuItem { } background: Rectangle { - implicitWidth: 200 - implicitHeight: 20 + width: parent.width + height: parent.height opacity: 1 color: menuItem.highlighted ? "#c0c0f0" : "transparent" } diff --git a/src/qml/main.qml b/src/qml/main.qml index ef83c44..a34d1d4 100644 --- a/src/qml/main.qml +++ b/src/qml/main.qml @@ -456,7 +456,7 @@ ApplicationWindow { } Action { - text: translate.getTranslation("FILE_MENU", i18n.language) + text: translate.getTranslation("OPEN_FILE", i18n.language) onTriggered: fileDialog.open() shortcut: keybinds.openFile }