From d8883d05c4f1179d734f3ce7f72827da41d7561a Mon Sep 17 00:00:00 2001 From: Camila Ayres Date: Wed, 28 Aug 2024 22:24:52 +0200 Subject: [PATCH] Fix warning: The current style does not support customization of this control (property: "background"). Signed-off-by: Camila Ayres --- src/gui/filedetails/NCInputTextEdit.qml | 3 ++- src/gui/filedetails/NCInputTextField.qml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gui/filedetails/NCInputTextEdit.qml b/src/gui/filedetails/NCInputTextEdit.qml index 3685b1f9d..d0dac6608 100644 --- a/src/gui/filedetails/NCInputTextEdit.qml +++ b/src/gui/filedetails/NCInputTextEdit.qml @@ -53,7 +53,8 @@ TextEdit { width: height height: parent.height - background: Rectangle { + // TODO: the current style does not support customization of this control + Rectangle { radius: width / 2 color: textFieldBorder.color } diff --git a/src/gui/filedetails/NCInputTextField.qml b/src/gui/filedetails/NCInputTextField.qml index fa4bef0bf..e03442702 100644 --- a/src/gui/filedetails/NCInputTextField.qml +++ b/src/gui/filedetails/NCInputTextField.qml @@ -33,6 +33,7 @@ TextField { selectByMouse: true + // TODO: the current style does not support customization of this control background: Rectangle { id: textFieldBorder radius: Style.slightlyRoundedButtonRadius -- 2.30.2