Skip to content

Commit 59aa217

Browse files
committed
remove sizes from all docs
1 parent b02d1ed commit 59aa217

File tree

2 files changed

+4
-19
lines changed

2 files changed

+4
-19
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ from cli2gui import Cli2Gui
148148

149149
```python
150150
@Cli2Gui(run_function, auto_enable=False, parser="argparse", gui="pysimplegui",
151-
theme="", darkTheme="", sizes="", image="", program_name="",
151+
theme="", darkTheme="", image="", program_name="",
152152
program_description="", max_args_shown=5, **kwargs)
153153
```
154154

@@ -318,7 +318,7 @@ Works significantly better with pysimplegui than pysimpleguiqt
318318

319319
```python
320320
def Click2Gui(run_function, gui="pysimplegui", theme="", darkTheme="",
321-
sizes="", image="", program_name="", program_description="",
321+
image="", program_name="", program_description="",
322322
max_args_shown=5, menu="", **kwargs):
323323
```
324324

tests/argparse/another_file.md

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
```python
44
@Cli2Gui(run_function, auto_enable=False, parser="argparse", gui="pysimplegui",
5-
theme="", darkTheme="", sizes="", image="", program_name="",
5+
theme="", darkTheme="", image="", program_name="",
66
program_description="", max_args_shown=5, **kwargs)
77
```
88

@@ -79,21 +79,6 @@ Set a base24 dark theme variant. Can also pass a base24 scheme file. eg.
7979
"#e48bff"])
8080
```
8181

82-
### sizes (optional)
83-
84-
Set the UI sizes such as the button size
85-
86-
```python
87-
@Cli2Gui(sizes={
88-
"title_size": 28,
89-
"label_size": (30, None),
90-
"input_size": (30, 1),
91-
"button":(10, 1),
92-
"padding":(5, 10),
93-
"helpText_size": 14,
94-
"text_size": 11})
95-
```
96-
9782
### image (optional)
9883

9984
Set the program icon. File extensions can be any that PIL supports
@@ -145,7 +130,7 @@ Works significantly better with pysimplegui than pysimpleguiqt
145130

146131
```python
147132
def Click2Gui(run_function, gui="pysimplegui", theme="", darkTheme="",
148-
sizes="", image="", program_name="", program_description="",
133+
image="", program_name="", program_description="",
149134
max_args_shown=5, menu="", **kwargs):
150135
```
151136

0 commit comments

Comments
 (0)