diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2023-08-08 11:31:56 +0300 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2023-10-03 16:13:52 +0300 |
commit | 72e2e4705942dd01d4befea3380df5d0fe77c363 (patch) | |
tree | 87637de32cd7156141c7bbe9594c0d6f12da23df /doc/classes/Window.xml | |
parent | a2f90d565ad29edcb3bdab77bc7df51cdde8514a (diff) | |
download | redot-engine-72e2e4705942dd01d4befea3380df5d0fe77c363.tar.gz |
[DisplayServer] Add method to estimate window title bar size.
Diffstat (limited to 'doc/classes/Window.xml')
-rw-r--r-- | doc/classes/Window.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/classes/Window.xml b/doc/classes/Window.xml index b03ef3ab4e..8f697ead8f 100644 --- a/doc/classes/Window.xml +++ b/doc/classes/Window.xml @@ -593,6 +593,9 @@ <member name="initial_position" type="int" setter="set_initial_position" getter="get_initial_position" enum="Window.WindowInitialPosition" default="0"> Specifies the initial type of position for the [Window]. See [enum WindowInitialPosition] constants. </member> + <member name="keep_title_visible" type="bool" setter="set_keep_title_visible" getter="get_keep_title_visible" default="false"> + If [code]true[/code], the [Window] width is expanded to keep the title bar text fully visible. + </member> <member name="max_size" type="Vector2i" setter="set_max_size" getter="get_max_size" default="Vector2i(0, 0)"> If non-zero, the [Window] can't be resized to be bigger than this size. [b]Note:[/b] This property will be ignored if the value is lower than [member min_size]. |