forked from M-Labs/artiq
1
0
Fork 0

dashboard: resize moninj widgets to fit titles

This commit is contained in:
Sebastien Bourdeauducq 2017-10-26 12:02:00 +08:00
parent d5b5076f67
commit c98fe70cfa
1 changed files with 0 additions and 2 deletions

View File

@ -145,8 +145,6 @@ class _SimpleDisplayWidget(QtWidgets.QFrame):
self.setLayout(grid)
label = QtWidgets.QLabel(title)
label.setAlignment(QtCore.Qt.AlignCenter)
label.setSizePolicy(QtWidgets.QSizePolicy.Ignored,
QtWidgets.QSizePolicy.Preferred)
grid.addWidget(label, 1, 1)
self.value = QtWidgets.QLabel()