improve text justification
This commit is contained in:
parent
7a4d901e6c
commit
c12a0cd27a
|
@ -36,9 +36,9 @@ class MainWindow(pg.GraphicsLayoutWidget):
|
|||
self.freq_base = freq_base
|
||||
self.block_size = block_size
|
||||
|
||||
self.text_ref = pg.LabelItem(size="24pt")
|
||||
self.text_ref = pg.LabelItem(size="24pt", justify="left")
|
||||
self.addItem(self.text_ref, row=0, col=0)
|
||||
self.text_locked = pg.LabelItem(size="24pt")
|
||||
self.text_locked = pg.LabelItem(size="24pt", justify="right")
|
||||
self.addItem(self.text_locked, row=0, col=1)
|
||||
self.update_ref(None, None, False)
|
||||
|
||||
|
|
Loading…
Reference in New Issue