From d0d8f534587605cb30716708c8374df2b4f1ccb7 Mon Sep 17 00:00:00 2001 From: JohnDoe6345789 Date: Fri, 26 Dec 2025 06:38:48 +0000 Subject: [PATCH] update: qt6,qml,frontends (2 files) --- frontends/qt6/qmllib/Material/MaterialChip.qml | 6 +++--- frontends/qt6/qmllib/Material/MaterialTextField.qml | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/frontends/qt6/qmllib/Material/MaterialChip.qml b/frontends/qt6/qmllib/Material/MaterialChip.qml index 974ed4114..d6dfa2e62 100644 --- a/frontends/qt6/qmllib/Material/MaterialChip.qml +++ b/frontends/qt6/qmllib/Material/MaterialChip.qml @@ -6,15 +6,15 @@ import "MaterialPalette.qml" as MaterialPalette Rectangle { id: chip property string text: "" - property color fillColor: MaterialPalette.palette.surfaceVariant - property color textColor: MaterialPalette.palette.onSurface + property color fillColor: MaterialPalette.surfaceVariant + property color textColor: MaterialPalette.onSurface property bool outlined: false radius: 999 height: 32 implicitWidth: label.width + 32 color: outlined ? "transparent" : fillColor - border.color: outlined ? MaterialPalette.palette.outline : "transparent" + border.color: outlined ? MaterialPalette.outline : "transparent" border.width: outlined ? 1 : 0 Text { diff --git a/frontends/qt6/qmllib/Material/MaterialTextField.qml b/frontends/qt6/qmllib/Material/MaterialTextField.qml index cc4089f60..eec4664b8 100644 --- a/frontends/qt6/qmllib/Material/MaterialTextField.qml +++ b/frontends/qt6/qmllib/Material/MaterialTextField.qml @@ -5,19 +5,19 @@ import "MaterialPalette.qml" as MaterialPalette TextField { id: field - property color baseColor: MaterialPalette.palette.surfaceVariant - property color focusColor: MaterialPalette.palette.focus - property color caretColor: MaterialPalette.palette.onSurface + property color baseColor: MaterialPalette.surfaceVariant + property color focusColor: MaterialPalette.focus + property color caretColor: MaterialPalette.onSurface implicitHeight: 48 font.pixelSize: 15 background: Rectangle { radius: 12 border.width: 1 - border.color: field.activeFocus ? focusColor : MaterialPalette.palette.outline + border.color: field.activeFocus ? focusColor : MaterialPalette.outline color: baseColor } - color: MaterialPalette.palette.onSurface + color: MaterialPalette.onSurface cursorVisible: true cursorColor: caretColor padding: 14