Merge pull request #1472 from PySimpleGUI/Dev-latest
Update PySimpleGUI27.py
This commit is contained in:
commit
2735461db4
|
@ -5081,7 +5081,7 @@ def PackFormIntoFrame(form, containing_frame, toplevel_form):
|
||||||
elif toplevel_form.TextJustification is not None:
|
elif toplevel_form.TextJustification is not None:
|
||||||
justification = toplevel_form.TextJustification
|
justification = toplevel_form.TextJustification
|
||||||
else:
|
else:
|
||||||
justification = DEFAULT_TEXT_JUSTIFICAION
|
justification = DEFAULT_TEXT_JUSTIFICATION
|
||||||
justify = tk.LEFT if justification == 'left' else tk.CENTER if justification == 'center' else tk.RIGHT
|
justify = tk.LEFT if justification == 'left' else tk.CENTER if justification == 'center' else tk.RIGHT
|
||||||
anchor = tk.NW if justification == 'left' else tk.N if justification == 'center' else tk.NE
|
anchor = tk.NW if justification == 'left' else tk.N if justification == 'center' else tk.NE
|
||||||
# tktext_label = tk.Label(tk_row_frame, textvariable=stringvar, width=width, height=height,
|
# tktext_label = tk.Label(tk_row_frame, textvariable=stringvar, width=width, height=height,
|
||||||
|
|
Loading…
Reference in New Issue