Fix warning: The current style does not support customization of this control (property: "background").

Signed-off-by: Camila Ayres <hello@camilasan.com>
This commit is contained in:
Camila Ayres 2024-08-28 22:24:52 +02:00 committed by Matthieu Gallien
parent 7253ae103c
commit af96f1e37d
No known key found for this signature in database
GPG Key ID: 7D0F74F05C22F553
2 changed files with 3 additions and 1 deletions

View File

@ -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
}

View File

@ -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