From: Camila Ayres Date: Wed, 28 Aug 2024 20:24:52 +0000 (+0200) Subject: Fix warning: The current style does not support customization of this control (proper... X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~6^2~34^2~22 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=af96f1e37d83b975882a0d034b270919ff98a909;p=nextcloud-desktop.git Fix warning: The current style does not support customization of this control (property: "background"). Signed-off-by: Camila Ayres --- 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