diff --git a/forms/mainwindow.ui b/forms/mainwindow.ui
index 3eaded3f..c2f089b5 100644
--- a/forms/mainwindow.ui
+++ b/forms/mainwindow.ui
@@ -1413,11 +1413,14 @@
- QFrame::StyledPanel
+ QFrame::NoFrame
QFrame::Raised
+
+ 0
+
0
diff --git a/src/ui/eventframes.cpp b/src/ui/eventframes.cpp
index 71c6a4e6..fe0b2bcd 100644
--- a/src/ui/eventframes.cpp
+++ b/src/ui/eventframes.cpp
@@ -49,7 +49,6 @@ void EventFrame::setup() {
l_layout_x->addWidget(this->spinner_x);
l_layout_xyz->addLayout(l_layout_x);
- l_layout_xyz->addItem(createSpacerH());
// y spinner & label
this->spinner_y = new NoScrollSpinBox(this);
@@ -63,7 +62,6 @@ void EventFrame::setup() {
l_layout_y->addWidget(this->spinner_y);
l_layout_xyz->addLayout(l_layout_y);
- l_layout_xyz->addItem(createSpacerH());
// z spinner & label
this->spinner_z = new NoScrollSpinBox(this);
@@ -77,6 +75,7 @@ void EventFrame::setup() {
l_layout_z->addWidget(this->spinner_z);
l_layout_xyz->addLayout(l_layout_z);
+ l_layout_xyz->addItem(createSpacerH());
QVBoxLayout *l_vbox_1 = new QVBoxLayout();