mirror of
https://bitbucket.org/presik/presik_pos.git
synced 2023-12-14 06:03:00 +01:00
Fix minor
This commit is contained in:
parent
4ecfd1e7ae
commit
6731dda5b4
2 changed files with 1 additions and 2 deletions
|
@ -93,7 +93,6 @@ class CustomButton(QPushButton):
|
|||
self.clicked.connect(method)
|
||||
|
||||
def get_label(self, name, style):
|
||||
print(style)
|
||||
style = 'button_label_' + style
|
||||
label_title = QLabel(name)
|
||||
label_title.setWordWrap(True)
|
||||
|
|
|
@ -67,7 +67,7 @@ def create_vbox(parent, values, method, columns=4, filter=None):
|
|||
width, height = get_screen()
|
||||
grid.addWidget(scroll_area)
|
||||
if filter:
|
||||
vbox_.addLayout(filter)
|
||||
vbox_.addWidget(filter)
|
||||
vbox_.addLayout(grid)
|
||||
return vbox_
|
||||
|
||||
|
|
Loading…
Reference in a new issue