From 29a0145c29ba3244e2bfe7386fe62a2f2870e06f Mon Sep 17 00:00:00 2001 From: boutinb Date: Wed, 5 Mar 2025 15:07:39 +0100 Subject: [PATCH] Fix TabView width --- inst/qml/InformedBinomialTestBayesian.qml | 14 +++++--------- inst/qml/InformedMultinomialTestBayesian.qml | 16 ++++++---------- 2 files changed, 11 insertions(+), 19 deletions(-) diff --git a/inst/qml/InformedBinomialTestBayesian.qml b/inst/qml/InformedBinomialTestBayesian.qml index 774e873..d82619b 100644 --- a/inst/qml/InformedBinomialTestBayesian.qml +++ b/inst/qml/InformedBinomialTestBayesian.qml @@ -269,16 +269,12 @@ Form optionKey: "modelName" Layout.columnSpan: 2 - content: Group + content: TextArea { - TextArea - { - name: "syntax" - width: models.width - textType: JASP.TextTypeModel - trim: true - applyScriptInfo: qsTr("Ctrl + Enter to apply. Click on the blue button above for help on the restriction syntax") - } + name: "syntax" + textType: JASP.TextTypeModel + trim: true + applyScriptInfo: qsTr("Ctrl + Enter to apply. Click on the blue button above for help on the restriction syntax") } } } diff --git a/inst/qml/InformedMultinomialTestBayesian.qml b/inst/qml/InformedMultinomialTestBayesian.qml index 63bf792..1f0fc0a 100644 --- a/inst/qml/InformedMultinomialTestBayesian.qml +++ b/inst/qml/InformedMultinomialTestBayesian.qml @@ -291,21 +291,17 @@ Form optionKey: "modelName" Layout.columnSpan: 2 - content: Group + content: TextArea { - TextArea - { - name: "syntax" - width: models.width - textType: JASP.TextTypeModel - trim: true - applyScriptInfo: qsTr("Ctrl + Enter to apply. Click on the blue button above for help on the restriction syntax") - } + name: "syntax" + textType: JASP.TextTypeModel + trim: true + applyScriptInfo: qsTr("Ctrl + Enter to apply. Click on the blue button above for help on the restriction syntax") } } } - Section + Section { columns: 2 title: qsTr("Advanced")