Prettified automatic view generation.

This commit is contained in:
jupfi 2024-04-11 16:49:44 +02:00
parent cdbf40c69c
commit bfdc4925df

View file

@ -80,8 +80,9 @@ class BaseSpectrometerView(ModuleView):
layout.addItem(spacer) layout.addItem(spacer)
layout.addWidget(setting_label) layout.addWidget(setting_label)
layout.addWidget(edit_widget) layout.addWidget(edit_widget)
layout.addWidget(icon_label)
layout.addStretch(1) layout.addStretch(1)
layout.addWidget(icon_label)
# Add the layout to the vertical layout of the widget # Add the layout to the vertical layout of the widget
category_layout.addLayout(layout) category_layout.addLayout(layout)