diff --git a/src/gui_qt/_py/basewindow.py b/src/gui_qt/_py/basewindow.py
index d916548..ea0c0f2 100644
--- a/src/gui_qt/_py/basewindow.py
+++ b/src/gui_qt/_py/basewindow.py
@@ -22,8 +22,6 @@ class Ui_BaseWindow(object):
self.centralwidget = QtWidgets.QWidget(BaseWindow)
self.centralwidget.setObjectName("centralwidget")
self.horizontalLayout = QtWidgets.QHBoxLayout(self.centralwidget)
- self.horizontalLayout.setContentsMargins(3, 3, 3, 3)
- self.horizontalLayout.setSpacing(3)
self.horizontalLayout.setObjectName("horizontalLayout")
self.splitter = QtWidgets.QSplitter(self.centralwidget)
self.splitter.setOrientation(QtCore.Qt.Horizontal)
@@ -70,8 +68,22 @@ class Ui_BaseWindow(object):
self.integralwidget = IntegralWidget()
self.integralwidget.setObjectName("integralwidget")
self.tabWidget.addTab(self.integralwidget, "")
- self.area = MdiAreaTile(self.splitter)
+ self.verticalLayoutWidget = QtWidgets.QWidget(self.splitter)
+ self.verticalLayoutWidget.setObjectName("verticalLayoutWidget")
+ self.verticalLayout = QtWidgets.QVBoxLayout(self.verticalLayoutWidget)
+ self.verticalLayout.setContentsMargins(0, 0, 0, 0)
+ self.verticalLayout.setObjectName("verticalLayout")
+ self.widget = EditorWidget(self.verticalLayoutWidget)
+ self.widget.setObjectName("widget")
+ self.verticalLayout.addWidget(self.widget)
+ self.area = MdiAreaTile(self.verticalLayoutWidget)
+ sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.MinimumExpanding)
+ sizePolicy.setHorizontalStretch(0)
+ sizePolicy.setVerticalStretch(0)
+ sizePolicy.setHeightForWidth(self.area.sizePolicy().hasHeightForWidth())
+ self.area.setSizePolicy(sizePolicy)
self.area.setObjectName("area")
+ self.verticalLayout.addWidget(self.area)
self.horizontalLayout.addWidget(self.splitter)
BaseWindow.setCentralWidget(self.centralwidget)
self.menubar = QtWidgets.QMenuBar(BaseWindow)
@@ -643,5 +655,6 @@ from ..data.signaledit.editsignalwidget import EditSignalWidget
from ..data.valueeditwidget import ValueEditWidget
from ..fit.fitwindow import QFitDialog
from ..graphs.drawings import DrawingsWidget
+from ..lib.codeeditor import EditorWidget
from ..lib.mdiarea import MdiAreaTile
from ..nmr.t1widget import QT1Widget
diff --git a/src/resources/_ui/basewindow.ui b/src/resources/_ui/basewindow.ui
index 01987b8..2c48b6a 100644
--- a/src/resources/_ui/basewindow.ui
+++ b/src/resources/_ui/basewindow.ui
@@ -22,21 +22,6 @@
-
- 3
-
-
- 3
-
-
- 3
-
-
- 3
-
-
- 3
-
-
@@ -125,7 +110,23 @@
-
+
+
+ -
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+
+
@@ -1086,6 +1087,12 @@
1
+
+ EditorWidget
+ QWidget
+
+ 1
+