Skip to content

Commit 74be7d7

Browse files
authored
Update RaterAgreement.qml (#348)
Fixes jasp-stats/jasp-issues#4419
1 parent 042a13e commit 74be7d7

1 file changed

Lines changed: 20 additions & 21 deletions

File tree

inst/qml/RaterAgreement.qml

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
import QtQuick
2020
import JASP.Controls
21+
import QtQuick.Layouts
2122

2223
Form
2324
{
@@ -34,33 +35,31 @@ Form
3435
allowedColumns: ["nominal", "ordinal", "scale"]
3536
info: qsTr("Rating variables to include. Whether a variable represents a rater or a subject/item depends on the data structure setting.")
3637
}
38+
}
3739

38-
RadioButtonGroup
40+
RadioButtonGroup
41+
{
42+
Layout.columnSpan: 2
43+
name: "dataStructure"
44+
title: qsTr("Data Structure")
45+
columns: 2
46+
info: qsTr("Specify whether raters are arranged in columns (default) or rows in the dataset.")
47+
RadioButton
3948
{
40-
name: "dataStructure"
41-
title: qsTr("Data Structure")
42-
columns: 2
43-
info: qsTr("Specify whether raters are arranged in columns (default) or rows in the dataset.")
44-
RadioButton
45-
{
46-
name: "ratersInColumns"
47-
label: qsTr("Raters are in columns")
48-
checked: true
49-
info: qsTr("Each column is one rater and each row is one subject or item being rated.")
50-
}
49+
name: "ratersInColumns"
50+
label: qsTr("Raters are in columns")
51+
checked: true
52+
info: qsTr("Each column is one rater and each row is one subject or item being rated.")
53+
}
5154

52-
RadioButton
53-
{
54-
name: "ratersInRows"
55-
label: qsTr("Raters are in rows")
56-
info: qsTr("Each row is one rater and each column is one subject or item being rated.")
57-
}
55+
RadioButton
56+
{
57+
name: "ratersInRows"
58+
label: qsTr("Raters are in rows")
59+
info: qsTr("Each row is one rater and each column is one subject or item being rated.")
5860
}
5961
}
6062

61-
62-
63-
6463
CheckBox
6564
{
6665
name: "cohensKappa"

0 commit comments

Comments
 (0)