docs: clarify that you want window_decorations=RESIZE

Increase from mentioning it one time in a subtle way to 4 times
in 4 different ways.
This commit is contained in:
Wez Furlong committed 2023-02-01 15:01:28 -07:00
1 parent b4dae6c2a3
commit 69d117f91b
1 file changed
+14 -1
+14 -1
View File
@@ -6,7 +6,10 @@ Configures whether the window has a title bar and/or resizable border.
The value is a set of of flags:
* `window_decorations = "NONE"` - disables titlebar and border (borderless mode)
* `window_decorations = "NONE"` - disables titlebar and border (borderless
mode), but causes problems with resizing and minimizing the window, so you
probably want to use `RESIZE` instead of `NONE` if you just want to remove
the title bar.
* `window_decorations = "TITLE"` - disable the resizable border and enable only the title bar
* `window_decorations = "RESIZE"` - disable the title bar but enable the resizable border
* `window_decorations = "TITLE | RESIZE"` - Enable titlebar and border. This is the default.
@@ -25,3 +28,13 @@ When the resizable border is disabled you will need to use features of your
desktop environment to resize the window. Windows users may wish to consider
[AltSnap](https://github.com/RamonUnch/AltSnap).
Think twice before removing `RESIZE` from the set of decorations as it causes
problems with resizing and minimizing the window. You usually want to keep
`RESIZE` enabled.
If you just want to remove the title bar, set `window_decorations = "RESIZE"`
as you will run into problems if you remove `RESIZE` from the set of
decorations.
You probably always want `RESIZE` to be listed in your `window_decorations`.