From c59c31fbb19ebe677ff868eb1e8c7570df8a2805 Mon Sep 17 00:00:00 2001 From: PySimpleGUI Date: Fri, 22 Nov 2019 11:37:04 -0500 Subject: [PATCH] Fix for Text Element being too small in Pattern 2 --- docs/index.md | 2 +- readme.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/index.md b/docs/index.md index 6012fe1d..603183fd 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1979,7 +1979,7 @@ This example introduces the concept of "keys". Keys are super important in PySi ```python import PySimpleGUI as sg -layout = [[sg.Text('Your typed chars appear here:'), sg.Text('', key='_OUTPUT_')], +layout = [[sg.Text('Your typed chars appear here:'), sg.Text('', size=(12,1), key='_OUTPUT_')], [sg.Input(key='_IN_')], [sg.Button('Show'), sg.Button('Exit')]] diff --git a/readme.md b/readme.md index 6012fe1d..603183fd 100644 --- a/readme.md +++ b/readme.md @@ -1979,7 +1979,7 @@ This example introduces the concept of "keys". Keys are super important in PySi ```python import PySimpleGUI as sg -layout = [[sg.Text('Your typed chars appear here:'), sg.Text('', key='_OUTPUT_')], +layout = [[sg.Text('Your typed chars appear here:'), sg.Text('', size=(12,1), key='_OUTPUT_')], [sg.Input(key='_IN_')], [sg.Button('Show'), sg.Button('Exit')]]