mirror of
https://github.com/nqrduck/nqrduck-spectrometer.git
synced 2024-11-09 12:30:01 +00:00
Prettified automatic view generation.
This commit is contained in:
parent
cdbf40c69c
commit
bfdc4925df
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue