forked from M-Labs/artiq
moninj: adjust DAC widget label alignment
This commit is contained in:
parent
6044d810ca
commit
9c1482aa69
@ -338,12 +338,11 @@ class _DACWidget(_MoninjWidget):
|
||||
self.offset_dacs = offset_dacs
|
||||
|
||||
self.value = QtWidgets.QLabel()
|
||||
self.value.setAlignment(QtCore.Qt.AlignCenter)
|
||||
self.value.setAlignment(QtCore.Qt.AlignHCenter | QtCore.Qt.AlignTop)
|
||||
self.grid.addWidget(self.value, 2, 1, 6, 1)
|
||||
|
||||
self.grid.setRowStretch(1, 1)
|
||||
self.grid.setRowStretch(2, 0)
|
||||
self.grid.setRowStretch(3, 1)
|
||||
self.grid.setRowStretch(2, 1)
|
||||
|
||||
self.refresh_display()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user