mirror of https://github.com/m-labs/artiq.git
dashboard: resize moninj widgets to fit titles
This commit is contained in:
parent
d5b5076f67
commit
c98fe70cfa
|
@ -145,8 +145,6 @@ class _SimpleDisplayWidget(QtWidgets.QFrame):
|
||||||
self.setLayout(grid)
|
self.setLayout(grid)
|
||||||
label = QtWidgets.QLabel(title)
|
label = QtWidgets.QLabel(title)
|
||||||
label.setAlignment(QtCore.Qt.AlignCenter)
|
label.setAlignment(QtCore.Qt.AlignCenter)
|
||||||
label.setSizePolicy(QtWidgets.QSizePolicy.Ignored,
|
|
||||||
QtWidgets.QSizePolicy.Preferred)
|
|
||||||
grid.addWidget(label, 1, 1)
|
grid.addWidget(label, 1, 1)
|
||||||
|
|
||||||
self.value = QtWidgets.QLabel()
|
self.value = QtWidgets.QLabel()
|
||||||
|
|
Loading…
Reference in New Issue