diff --git a/src/Qt5/imports/FluentUI/Controls/FluTextBoxBackground.qml b/src/Qt5/imports/FluentUI/Controls/FluTextBoxBackground.qml index 4c53b26e..024ce7e2 100644 --- a/src/Qt5/imports/FluentUI/Controls/FluTextBoxBackground.qml +++ b/src/Qt5/imports/FluentUI/Controls/FluTextBoxBackground.qml @@ -21,7 +21,6 @@ FluControlBackground{ gradient: Gradient { GradientStop { position: 0.0; color: d.startColor } GradientStop { position: 1 - d.offsetSize/control.height; color: d.startColor } - GradientStop { position: 1 - 1/control.height; color: d.endColor } GradientStop { position: 1.0; color: d.endColor } } bottomMargin: inputItem && inputItem.activeFocus ? 2 : 1 diff --git a/src/Qt6/imports/FluentUI/Controls/FluTextBoxBackground.qml b/src/Qt6/imports/FluentUI/Controls/FluTextBoxBackground.qml index dcd34a6e..d2ce9955 100644 --- a/src/Qt6/imports/FluentUI/Controls/FluTextBoxBackground.qml +++ b/src/Qt6/imports/FluentUI/Controls/FluTextBoxBackground.qml @@ -21,7 +21,6 @@ FluControlBackground{ gradient: Gradient { GradientStop { position: 0.0; color: d.startColor } GradientStop { position: 1 - d.offsetSize/control.height; color: d.startColor } - GradientStop { position: 1 - 1/control.height; color: d.endColor } GradientStop { position: 1.0; color: d.endColor } } bottomMargin: inputItem && inputItem.activeFocus ? 2 : 1