mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-08 23:24:15 +02:00
[screenshots] new design with bottom toolbar
This commit is contained in:
@@ -211,7 +211,11 @@ def new_single_select(model: SingleSelectComponent):
|
||||
raise Exception("Unsupported type {}".format(model.type))
|
||||
|
||||
|
||||
def new_spacer() -> QWidget:
|
||||
def new_spacer(min_width: int = None) -> QWidget:
|
||||
spacer = QWidget()
|
||||
|
||||
if min_width:
|
||||
spacer.setMinimumWidth(min_width)
|
||||
|
||||
spacer.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding)
|
||||
return spacer
|
||||
|
||||
Reference in New Issue
Block a user