[screenshots] new design with bottom toolbar

This commit is contained in:
Vinicius Moreira
2019-10-16 11:16:37 -03:00
parent 3dff0a5fb2
commit a7e270f312
2 changed files with 29 additions and 17 deletions

View File

@@ -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