|
2 | 2 |
|
3 | 3 | ```python |
4 | 4 | @Cli2Gui(run_function, auto_enable=False, parser="argparse", gui="pysimplegui", |
5 | | - theme="", darkTheme="", sizes="", image="", program_name="", |
| 5 | + theme="", darkTheme="", image="", program_name="", |
6 | 6 | program_description="", max_args_shown=5, **kwargs) |
7 | 7 | ``` |
8 | 8 |
|
@@ -79,21 +79,6 @@ Set a base24 dark theme variant. Can also pass a base24 scheme file. eg. |
79 | 79 | "#e48bff"]) |
80 | 80 | ``` |
81 | 81 |
|
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 | | - |
97 | 82 | ### image (optional) |
98 | 83 |
|
99 | 84 | Set the program icon. File extensions can be any that PIL supports |
@@ -145,7 +130,7 @@ Works significantly better with pysimplegui than pysimpleguiqt |
145 | 130 |
|
146 | 131 | ```python |
147 | 132 | def Click2Gui(run_function, gui="pysimplegui", theme="", darkTheme="", |
148 | | - sizes="", image="", program_name="", program_description="", |
| 133 | + image="", program_name="", program_description="", |
149 | 134 | max_args_shown=5, menu="", **kwargs): |
150 | 135 | ``` |
151 | 136 |
|
|
0 commit comments