Update for some code not indented correctly.
This commit is contained in:
parent
4378dfece7
commit
4dfdfe9eaa
|
@ -5517,7 +5517,7 @@ Here is ***some*** of the code patterns you'll find when looking through the dem
|
||||||
```python
|
```python
|
||||||
import PySimpleGUI as sg
|
import PySimpleGUI as sg
|
||||||
|
|
||||||
# Design pattern 2 - First window remains active
|
# Design pattern 1 - First window remains active
|
||||||
|
|
||||||
layout = [[ sg.Text('Window 1'),],
|
layout = [[ sg.Text('Window 1'),],
|
||||||
[sg.Input(do_not_clear=True)],
|
[sg.Input(do_not_clear=True)],
|
||||||
|
@ -5552,7 +5552,7 @@ while True:
|
||||||
```python
|
```python
|
||||||
import PySimpleGUIQt as sg
|
import PySimpleGUIQt as sg
|
||||||
|
|
||||||
# Design pattern 1 - First window does not remain active
|
# Design pattern 2 - First window does not remain active
|
||||||
|
|
||||||
layout = [[ sg.Text('Window 1'),],
|
layout = [[ sg.Text('Window 1'),],
|
||||||
[sg.Input(do_not_clear=True)],
|
[sg.Input(do_not_clear=True)],
|
||||||
|
|
Loading…
Reference in New Issue