Optimize PathBar's visual experience

This commit is contained in:
pjx206 2021-04-05 14:53:57 +08:00
parent 29c18e5cf6
commit 10576c3529

View file

@ -80,9 +80,13 @@ Item {
inputMethodHints: Qt.ImhUrlCharactersOnly | Qt.ImhNoAutoUppercase inputMethodHints: Qt.ImhUrlCharactersOnly | Qt.ImhNoAutoUppercase
text: control.url text: control.url
color: Meui.Theme.darkMode ? "white" : "black"
background: Rectangle { background: Rectangle {
radius: Meui.Theme.smallRadius radius: Meui.Theme.smallRadius
color: Meui.Theme.darkMode ? Qt.darker(Meui.Theme.backgroundColor, 1.1) : "white"
border.width: Meui.Units.extendBorderWidth
border.color: Meui.Theme.highlightColor
} }
onAccepted: { onAccepted: {