Skip to content

Commit 1cf6139

Browse files
shun2wangJorisGoosen
authored andcommitted
Fix cells border showing in tableView
1 parent 1209dc6 commit 1cf6139

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

QMLComponents/components/JASP/Controls/TextField.qml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -184,11 +184,14 @@ TextInputBase
184184

185185
background: Rectangle
186186
{
187-
id: controlBackground
188-
color: jaspTheme.controlBackgroundColor
189-
border.width: textField.showBorder && !control.activeFocus ? 1 : 0
190-
border.color: jaspTheme.borderColor //If the border width is zero the color is inconsequential
191-
radius: jaspTheme.borderRadius
187+
id: controlBackground
188+
color: jaspTheme.controlBackgroundColor
189+
border.width: textField.showBorder && !control.activeFocus ? 1 : 0
190+
border.color: jaspTheme.borderColor //If the border width is zero the color is inconsequential
191+
radius: jaspTheme.borderRadius
192+
width: parent.width - 2 // (parent+self) border width
193+
height: parent.height - 2
194+
anchors.centerIn: parent
192195
}
193196

194197
Rectangle

0 commit comments

Comments
 (0)