Allow to configure window shadow style with: window-shadow-color, window-shadow-offset, window-shadow-size.

This commit is contained in:
Martín Lucas Golini
2026-02-16 13:32:14 -03:00
parent 106af2f060
commit a9901ef23b
6 changed files with 74 additions and 9 deletions

View File

@@ -908,7 +908,7 @@ Sets the hint font shadow offset.
(TextInput), EE::UI::UIListBoxItem (ListBox::item), EE::UI::UIDropDownList (DropDownList),
EE::UI::UITextInputPassword (TextInputPassword), EE::UI::UIPushButton (PushButton), EE::UI::UIToolti
(Tooltip)
* Data Type: [vector2-number](#vector2-number-data-type)
* Data Type: [vector2-length](#vector2-length-data-type)
* Default offset: `1dp 1dp`
---
@@ -1984,7 +1984,7 @@ Sets the text shadow offset.
(TextInput), EE::UI::UIListBoxItem (ListBox::item), EE::UI::UIDropDownList (DropDownList),
EE::UI::UITextInputPassword (TextInputPassword), EE::UI::UIPushButton (PushButton), EE::UI::UIToolti
(Tooltip)
* Data Type: [vector2-number](#vector2-number-data-type)
* Data Type: [vector2-length](#vector2-length-data-type)
* Default offset: `1dp 1dp`
---
@@ -2289,6 +2289,36 @@ And the opacity property applied to the window will be multiplied by this value.
---
### window-shadow-color
Sets the window shadow color.
* Applicable to: EE::UI::UIWindow (window)
* Data Type: [color](#color-data-type)
* Default value: `rgba(0,0,0,0.1)`
---
### window-shadow-offset
Sets the window shadow offset.
* Applicable to: EE::UI::UIWindow (window)
* Data Type: [vector2-length](#vector2-length-data-type)
* Default value: `16dp 16dp`
---
### window-shadow-size
Sets the window shadow size.
* Applicable to: EE::UI::UIWindow (window)
* Data Type: [length](#length-data-type)
* Default value: `16dp`
---
### window-title
Sets the window title.
@@ -2297,6 +2327,8 @@ Sets the window title.
* Data Type: [string](#string-data-type)
* Default value: _No value_
---
### window-titlebar-auto-size
Sets if the window titlebar size should be automatically calculated based on the skin size.