File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
QMLComponents/components/JASP/Controls Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments