@@ -59,7 +59,7 @@ Base size
5959A base size for the window can be specified in the Project Settings under
6060**Display → Window **.
6161
62- .. image :: img/screenres.png
62+ .. image :: img/screenres.webp
6363
6464However, what it does is not completely obvious; the engine will *not *
6565attempt to switch the monitor to this resolution. Rather, think of this
@@ -127,20 +127,16 @@ Stretch settings
127127
128128Stretch settings are located in the project settings and provide several options:
129129
130- .. image :: img/stretchsettings.png
130+ .. image :: img/stretchsettings.webp
131131
132132Stretch Mode
133133^^^^^^^^^^^^
134134
135135The **Stretch Mode ** setting defines how the base size is stretched to fit
136- the resolution of the window or screen.
137-
138- .. image :: img/stretch.png
139-
140- The animations below use a "base size" of just 16×9 pixels to
141- demonstrate the effect of different stretch modes. A single sprite, also
142- 16×9 pixels in size, covers the entire viewport, and a diagonal
143- :ref: `Line2D <class_Line2D >` is added on top of it:
136+ the resolution of the window or screen. The animations below use a "base
137+ size" of just 16×9 pixels to demonstrate the effect of different stretch
138+ modes. A single sprite, also 16×9 pixels in size, covers the entire viewport,
139+ and a diagonal :ref: `Line2D <class_Line2D >` is added on top of it:
144140
145141.. image :: img/stretch_demo_scene.png
146142
@@ -467,7 +463,7 @@ Non-game application
467463- Keep the stretch mode to its default value, ``disabled ``.
468464- Keep the stretch aspect to its default value, ``ignore ``
469465 (its value won't be used since the stretch mode is ``disabled ``).
470- - You can define a minimum window size by setting ``OS.min_window_size `` in a
466+ - You can define a minimum window size by calling ``get_window().set_min_size() `` in a
471467 script's ``_ready() `` function. This prevents the user from resizing the application
472468 below a certain size, which could break the UI layout.
473469
0 commit comments