From 29c18e5cf646bb030bd55db72c65b1c67bd016bb Mon Sep 17 00:00:00 2001 From: pjx206 Date: Mon, 5 Apr 2021 13:01:49 +0800 Subject: [PATCH] fix PathBar TextEdit style --- qml/GlobalSettings.qml | 2 +- qml/PathBar.qml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/qml/GlobalSettings.qml b/qml/GlobalSettings.qml index 3b6a200..40d9781 100644 --- a/qml/GlobalSettings.qml +++ b/qml/GlobalSettings.qml @@ -2,7 +2,7 @@ import QtQuick 2.12 import Qt.labs.settings 1.0 Settings { - property int viewMethod: 1 + property int viewMethod: 1 // controls display mode: list or grid property bool showHidden: false property int width: 900 property int height: 580 diff --git a/qml/PathBar.qml b/qml/PathBar.qml index a3b3a99..8199aec 100644 --- a/qml/PathBar.qml +++ b/qml/PathBar.qml @@ -81,6 +81,10 @@ Item { text: control.url + background: Rectangle { + radius: Meui.Theme.smallRadius + } + onAccepted: { control.editorAccepted(text) closeEditor()