improve text justification

master
Sebastien Bourdeauducq 2020-08-12 13:06:11 +08:00
parent 7a4d901e6c
commit c12a0cd27a
1 changed files with 2 additions and 2 deletions

View File

@ -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)