diff --git a/src/View/Geometry/PlotXY.py b/src/View/Geometry/PlotXY.py
index a64afbe5..36de09cc 100644
--- a/src/View/Geometry/PlotXY.py
+++ b/src/View/Geometry/PlotXY.py
@@ -51,6 +51,7 @@ class PlotXY(APlot):
_translate("MainWindow_reach", "Y (m)"),
color='green', fontsize=12
)
+ self.canvas.axes.axis("equal")
kp = self.data.get_kp()
self.canvas.axes.set_xlim(
diff --git a/src/View/Network/GraphWidget.py b/src/View/Network/GraphWidget.py
index 6760af31..3cfdf47c 100644
--- a/src/View/Network/GraphWidget.py
+++ b/src/View/Network/GraphWidget.py
@@ -734,7 +734,7 @@ class GraphWidget(QGraphicsView):
# Contextual menu
- def menu_default(self, event, pos, items, menu):
+ def _menu_default(self, event, pos, items, menu):
add_node = menu.addAction(_translate("Network", "Add node"))
action = menu.exec_(self.mapToGlobal(event.pos()))
@@ -742,7 +742,7 @@ class GraphWidget(QGraphicsView):
if action == add_node:
self.add_node(pos)
- def menu_node(self, event, pos, items, menu):
+ def _menu_node(self, event, pos, items, menu):
delete = menu.addAction(_translate("Network", "Delete the node"))
disable = menu.addAction(_translate("Network", "Disable the node"))
@@ -751,7 +751,7 @@ class GraphWidget(QGraphicsView):
if action == delete:
self.del_node(items[0])
- def menu_edge(self, event, pos, items, menu):
+ def _menu_edge(self, event, pos, items, menu):
delete = menu.addAction(_translate("Network", "Delete the reach"))
disable = menu.addAction(_translate("Network", "Disable the reach"))
@@ -766,8 +766,8 @@ class GraphWidget(QGraphicsView):
menu = QMenu(self)
if len(items) == 0:
- self.menu_default(event, pos, items, menu)
+ self._menu_default(event, pos, items, menu)
elif type(items[0]) == NodeItem:
- self.menu_node(event, pos, items, menu)
+ self._menu_node(event, pos, items, menu)
elif type(items[0]) == EdgeItem:
- self.menu_edge(event, pos, items, menu)
+ self._menu_edge(event, pos, items, menu)
diff --git a/src/View/ui/BoundaryConditions.ui b/src/View/ui/BoundaryConditions.ui
index 3097fd63..ac32ee3e 100644
--- a/src/View/ui/BoundaryConditions.ui
+++ b/src/View/ui/BoundaryConditions.ui
@@ -30,6 +30,12 @@
Qt::Horizontal
+
+
+ 300
+ 0
+
+
0
diff --git a/src/View/ui/EditBoundaryConditions.ui b/src/View/ui/EditBoundaryConditions.ui
index 6a36a552..1fabe5fc 100644
--- a/src/View/ui/EditBoundaryConditions.ui
+++ b/src/View/ui/EditBoundaryConditions.ui
@@ -35,7 +35,14 @@
Qt::Horizontal
-
+
+
+
+ 0
+ 200
+
+
+
diff --git a/src/View/ui/LateralContributions.ui b/src/View/ui/LateralContributions.ui
index 3097fd63..ac32ee3e 100644
--- a/src/View/ui/LateralContributions.ui
+++ b/src/View/ui/LateralContributions.ui
@@ -30,6 +30,12 @@
Qt::Horizontal
+
+
+ 300
+ 0
+
+
0