I am trying to make string appear as that same length, so that when joined they appear as columns.
import PySimpleGUI as sg
a = ('IIII'.rjust(6,'*'))
b = ('OOOO'.rjust(6,'*'))
layout = [[sg.Text(a), sg.Text(a), sg.Text(a)], [sg.Text(b), sg.Text(b), sg.Text(b)]]
window = sg.Window('Test Window', layout)
event, values = window.read()
window.close()
Because the 'I' is narrower than the 'O' the columns do not line up. Ultimately, I want to use the strings as a list box. Thanks, for any help.