diff --git a/src/gui/Base/HTextArea.qml b/src/gui/Base/HTextArea.qml index c509613c..4126474c 100644 --- a/src/gui/Base/HTextArea.qml +++ b/src/gui/Base/HTextArea.qml @@ -80,7 +80,7 @@ TextArea { background: Rectangle { id: textAreaBackground - radius: theme.radius + radius: bordered ? theme.radius : 0 color: theme.controls.textArea.background opacity: textArea.opacity diff --git a/src/gui/Base/HTextField.qml b/src/gui/Base/HTextField.qml index bd757bcc..5b770691 100644 --- a/src/gui/Base/HTextField.qml +++ b/src/gui/Base/HTextField.qml @@ -68,7 +68,7 @@ TextField { background: Rectangle { id: textFieldBackground - radius: theme.radius + radius: bordered ? theme.radius : 0 color: field.activeFocus ? focusedBackgroundColor : backgroundColor border.width: bordered ? theme.controls.textField.borderWidth : 0