Skip to content

Commit 7384db8

Browse files
committed
[ui] ScriptEditor: Updated to Use Horizontal MSplitView
1 parent 1b963ab commit 7384db8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

meshroom/ui/qml/GraphEditor/ScriptEditor.qml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -239,16 +239,16 @@ Item {
239239
}
240240
}
241241

242-
RowLayout {
243-
Layout.fillHeight: true
244-
Layout.fillWidth: true
245-
width: root.width
242+
MSplitView {
243+
id: scriptSplitView;
244+
Layout.fillHeight: true;
245+
Layout.fillWidth: true;
246+
orientation: Qt.Horizontal;
246247

247248
// Input Text Area -- Holds the input scripts to be executed
248249
Rectangle {
249250
id: inputArea
250-
Layout.fillHeight: true
251-
Layout.fillWidth: true
251+
SplitView.preferredWidth: root.width / 2;
252252

253253
color: palette.base
254254

0 commit comments

Comments
 (0)