mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Add a default theme for unfocused Windows
At the moment it is impossible to distinguish between focused and unfocused embedded Windows. Add a new `theme_item` that is used for coloring the border of unfocused Windows.
This commit is contained in:
@@ -903,5 +903,8 @@
|
||||
The background style used when the [Window] is embedded. Note that this is drawn only under the window's content, excluding the title. For proper borders and title bar style, you can use [code]expand_margin_*[/code] properties of [StyleBoxFlat].
|
||||
[b]Note:[/b] The content background will not be visible unless [member transparent] is enabled.
|
||||
</theme_item>
|
||||
<theme_item name="embedded_unfocused_border" data_type="style" type="StyleBox">
|
||||
The background style used when the [Window] is embedded and unfocused.
|
||||
</theme_item>
|
||||
</theme_items>
|
||||
</class>
|
||||
|
||||
Reference in New Issue
Block a user