Have radius only on text fields/areas with borders

Fixes the appearance of the filter room/members fields
This commit is contained in:
miruka 2021-03-02 10:02:29 -04:00
parent d828312a24
commit bbe6415336
2 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ TextArea {
background: Rectangle { background: Rectangle {
id: textAreaBackground id: textAreaBackground
radius: theme.radius radius: bordered ? theme.radius : 0
color: theme.controls.textArea.background color: theme.controls.textArea.background
opacity: textArea.opacity opacity: textArea.opacity

View File

@ -68,7 +68,7 @@ TextField {
background: Rectangle { background: Rectangle {
id: textFieldBackground id: textFieldBackground
radius: theme.radius radius: bordered ? theme.radius : 0
color: field.activeFocus ? focusedBackgroundColor : backgroundColor color: field.activeFocus ? focusedBackgroundColor : backgroundColor
border.width: bordered ? theme.controls.textField.borderWidth : 0 border.width: bordered ? theme.controls.textField.borderWidth : 0