Have radius only on text fields/areas with borders
Fixes the appearance of the filter room/members fields
This commit is contained in:
parent
d828312a24
commit
bbe6415336
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user