Move placeholder color to theme item
This commit is contained in:
parent
78e3e65e7c
commit
1cd1df5dc3
10 changed files with 27 additions and 46 deletions
|
|
@ -607,6 +607,9 @@
|
|||
<theme_item name="font_outline_color" data_type="color" type="Color" default="Color(1, 1, 1, 1)">
|
||||
The tint of text outline of the [CodeEdit].
|
||||
</theme_item>
|
||||
<theme_item name="font_placeholder_color" data_type="color" type="Color" default="Color(0.875, 0.875, 0.875, 0.6)">
|
||||
Font color for [member TextEdit.placeholder_text].
|
||||
</theme_item>
|
||||
<theme_item name="font_readonly_color" data_type="color" type="Color" default="Color(0.875, 0.875, 0.875, 0.5)">
|
||||
Sets the font [Color] when [member TextEdit.editable] is disabled.
|
||||
</theme_item>
|
||||
|
|
|
|||
|
|
@ -233,9 +233,6 @@
|
|||
[b]Note:[/b] This method is only implemented on Linux.
|
||||
</member>
|
||||
<member name="mouse_default_cursor_shape" type="int" setter="set_default_cursor_shape" getter="get_default_cursor_shape" overrides="Control" enum="Control.CursorShape" default="1" />
|
||||
<member name="placeholder_alpha" type="float" setter="set_placeholder_alpha" getter="get_placeholder_alpha" default="0.6">
|
||||
Opacity of the [member placeholder_text]. From [code]0[/code] to [code]1[/code].
|
||||
</member>
|
||||
<member name="placeholder_text" type="String" setter="set_placeholder" getter="get_placeholder" default="""">
|
||||
Text shown when the [LineEdit] is empty. It is [b]not[/b] the [LineEdit]'s default value (see [member text]).
|
||||
</member>
|
||||
|
|
@ -397,6 +394,9 @@
|
|||
<theme_item name="font_outline_color" data_type="color" type="Color" default="Color(1, 1, 1, 1)">
|
||||
The tint of text outline of the [LineEdit].
|
||||
</theme_item>
|
||||
<theme_item name="font_placeholder_color" data_type="color" type="Color" default="Color(0.875, 0.875, 0.875, 0.6)">
|
||||
Font color for [member placeholder_text].
|
||||
</theme_item>
|
||||
<theme_item name="font_selected_color" data_type="color" type="Color" default="Color(1, 1, 1, 1)">
|
||||
Font color for selected text (inside the selection rectangle).
|
||||
</theme_item>
|
||||
|
|
|
|||
|
|
@ -992,9 +992,6 @@
|
|||
<member name="override_selected_font_color" type="bool" setter="set_override_selected_font_color" getter="is_overriding_selected_font_color" default="false">
|
||||
If [code]true[/code], custom [code]font_selected_color[/code] will be used for selected text.
|
||||
</member>
|
||||
<member name="placeholder_alpha" type="float" setter="set_placeholder_alpha" getter="get_placeholder_alpha" default="0.6">
|
||||
Opacity of the [member placeholder_text]. From [code]0[/code] to [code]1[/code].
|
||||
</member>
|
||||
<member name="placeholder_text" type="String" setter="set_placeholder" getter="get_placeholder" default="""">
|
||||
Text shown when the [TextEdit] is empty. It is [b]not[/b] the [TextEdit]'s default value (see [member text]).
|
||||
</member>
|
||||
|
|
@ -1237,6 +1234,9 @@
|
|||
<theme_item name="font_outline_color" data_type="color" type="Color" default="Color(1, 1, 1, 1)">
|
||||
The tint of text outline of the [TextEdit].
|
||||
</theme_item>
|
||||
<theme_item name="font_placeholder_color" data_type="color" type="Color" default="Color(0.875, 0.875, 0.875, 0.6)">
|
||||
Font color for [member placeholder_text].
|
||||
</theme_item>
|
||||
<theme_item name="font_readonly_color" data_type="color" type="Color" default="Color(0.875, 0.875, 0.875, 0.5)">
|
||||
Sets the font [Color] when [member editable] is disabled.
|
||||
</theme_item>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue