Adjust layout of events tab

This commit is contained in:
Marcus Huderle 2022-10-15 13:02:28 -05:00
parent 36de7b63ff
commit 37022c2b38
2 changed files with 5 additions and 3 deletions

View file

@ -1413,11 +1413,14 @@
</size>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<property name="lineWidth">
<number>0</number>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="leftMargin">
<number>0</number>

View file

@ -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();