Merge pull request #44194 from madmiraal/fix-font_selected_color
Change themes font_color_selected to font_selected_color
This commit is contained in:
@ -118,17 +118,17 @@
|
||||
<theme_item name="font_color" type="Color" default="Color( 0.88, 0.88, 0.88, 1 )">
|
||||
Default text [Color] of the [Button].
|
||||
</theme_item>
|
||||
<theme_item name="font_color_disabled" type="Color" default="Color( 0.9, 0.9, 0.9, 0.2 )">
|
||||
<theme_item name="font_disabled_color" type="Color" default="Color( 0.9, 0.9, 0.9, 0.2 )">
|
||||
Text [Color] used when the [Button] is disabled.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_hover" type="Color" default="Color( 0.94, 0.94, 0.94, 1 )">
|
||||
<theme_item name="font_hover_color" type="Color" default="Color( 0.94, 0.94, 0.94, 1 )">
|
||||
Text [Color] used when the [Button] is being hovered.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_pressed" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
Text [Color] used when the [Button] is being pressed.
|
||||
<theme_item name="font_outline_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
Text outline [Color] of the [Button].
|
||||
</theme_item>
|
||||
<theme_item name="font_outline_modulate" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
Text oubline [Color] of the [Button].
|
||||
<theme_item name="font_pressed_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
Text [Color] used when the [Button] is being pressed.
|
||||
</theme_item>
|
||||
<theme_item name="font_size" type="int">
|
||||
Font size of the [Button]'s text.
|
||||
|
||||
@ -36,16 +36,16 @@
|
||||
<theme_item name="font_color" type="Color" default="Color( 0.88, 0.88, 0.88, 1 )">
|
||||
The [CheckBox] text's font color.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_disabled" type="Color" default="Color( 0.9, 0.9, 0.9, 0.2 )">
|
||||
<theme_item name="font_disabled_color" type="Color" default="Color( 0.9, 0.9, 0.9, 0.2 )">
|
||||
The [CheckBox] text's font color when it's disabled.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_hover" type="Color" default="Color( 0.94, 0.94, 0.94, 1 )">
|
||||
<theme_item name="font_hover_color" type="Color" default="Color( 0.94, 0.94, 0.94, 1 )">
|
||||
The [CheckBox] text's font color when it's hovered.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_hover_pressed" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<theme_item name="font_hover_pressed_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
The [CheckBox] text's font color when it's hovered and pressed.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_pressed" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<theme_item name="font_pressed_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
The [CheckBox] text's font color when it's pressed.
|
||||
</theme_item>
|
||||
<theme_item name="font_size" type="int">
|
||||
|
||||
@ -33,16 +33,16 @@
|
||||
<theme_item name="font_color" type="Color" default="Color( 0.88, 0.88, 0.88, 1 )">
|
||||
The [CheckButton] text's font color.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_disabled" type="Color" default="Color( 0.9, 0.9, 0.9, 0.2 )">
|
||||
<theme_item name="font_disabled_color" type="Color" default="Color( 0.9, 0.9, 0.9, 0.2 )">
|
||||
The [CheckButton] text's font color when it's disabled.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_hover" type="Color" default="Color( 0.94, 0.94, 0.94, 1 )">
|
||||
<theme_item name="font_hover_color" type="Color" default="Color( 0.94, 0.94, 0.94, 1 )">
|
||||
The [CheckButton] text's font color when it's hovered.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_hover_pressed" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<theme_item name="font_hover_pressed_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
The [CheckButton] text's font color when it's hovered and pressed.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_pressed" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<theme_item name="font_pressed_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
The [CheckButton] text's font color when it's pressed.
|
||||
</theme_item>
|
||||
<theme_item name="font_size" type="int">
|
||||
|
||||
@ -179,9 +179,9 @@
|
||||
</theme_item>
|
||||
<theme_item name="font_color" type="Color" default="Color( 0.88, 0.88, 0.88, 1 )">
|
||||
</theme_item>
|
||||
<theme_item name="font_color_readonly" type="Color" default="Color( 0.88, 0.88, 0.88, 0.5 )">
|
||||
<theme_item name="font_readonly_color" type="Color" default="Color( 0.88, 0.88, 0.88, 0.5 )">
|
||||
</theme_item>
|
||||
<theme_item name="font_color_selected" type="Color" default="Color( 0, 0, 0, 1 )">
|
||||
<theme_item name="font_selected_color" type="Color" default="Color( 0, 0, 0, 1 )">
|
||||
</theme_item>
|
||||
<theme_item name="font_size" type="int">
|
||||
Font size of the [CodeEdit]'s text.
|
||||
|
||||
@ -73,13 +73,13 @@
|
||||
<theme_item name="font_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
Default text [Color] of the [ColorPickerButton].
|
||||
</theme_item>
|
||||
<theme_item name="font_color_disabled" type="Color" default="Color( 0.9, 0.9, 0.9, 0.3 )">
|
||||
<theme_item name="font_disabled_color" type="Color" default="Color( 0.9, 0.9, 0.9, 0.3 )">
|
||||
Text [Color] used when the [ColorPickerButton] is disabled.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_hover" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<theme_item name="font_hover_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
Text [Color] used when the [ColorPickerButton] is being hovered.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_pressed" type="Color" default="Color( 0.8, 0.8, 0.8, 1 )">
|
||||
<theme_item name="font_pressed_color" type="Color" default="Color( 0.8, 0.8, 0.8, 1 )">
|
||||
Text [Color] used when the [ColorPickerButton] is being pressed.
|
||||
</theme_item>
|
||||
<theme_item name="font_size" type="int">
|
||||
|
||||
@ -615,7 +615,7 @@
|
||||
<theme_item name="font_color" type="Color" default="Color( 0.63, 0.63, 0.63, 1 )">
|
||||
Default text [Color] of the item.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_selected" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<theme_item name="font_selected_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
Text [Color] used when the item is selected.
|
||||
</theme_item>
|
||||
<theme_item name="font_size" type="int">
|
||||
|
||||
@ -150,12 +150,12 @@
|
||||
<theme_item name="font_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
Default text [Color] of the [Label].
|
||||
</theme_item>
|
||||
<theme_item name="font_color_shadow" type="Color" default="Color( 0, 0, 0, 0 )">
|
||||
[Color] of the text's shadow effect.
|
||||
</theme_item>
|
||||
<theme_item name="font_outline_modulate" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<theme_item name="font_outline_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
The tint of [Font]'s outline.
|
||||
</theme_item>
|
||||
<theme_item name="font_shadow_color" type="Color" default="Color( 0, 0, 0, 0 )">
|
||||
[Color] of the text's shadow effect.
|
||||
</theme_item>
|
||||
<theme_item name="font_size" type="int">
|
||||
Font size of the [Label]'s text.
|
||||
</theme_item>
|
||||
|
||||
@ -380,10 +380,10 @@
|
||||
<theme_item name="font_color" type="Color" default="Color( 0.88, 0.88, 0.88, 1 )">
|
||||
Default font color.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_selected" type="Color" default="Color( 0, 0, 0, 1 )">
|
||||
<theme_item name="font_selected_color" type="Color" default="Color( 0, 0, 0, 1 )">
|
||||
Font color for selected text (inside the selection rectangle).
|
||||
</theme_item>
|
||||
<theme_item name="font_color_uneditable" type="Color" default="Color( 0.88, 0.88, 0.88, 0.5 )">
|
||||
<theme_item name="font_uneditable_color" type="Color" default="Color( 0.88, 0.88, 0.88, 0.5 )">
|
||||
Font color when editing is disabled.
|
||||
</theme_item>
|
||||
<theme_item name="font_size" type="int">
|
||||
|
||||
@ -81,10 +81,10 @@
|
||||
<theme_item name="font_color" type="Color" default="Color( 0.88, 0.88, 0.88, 1 )">
|
||||
Default text [Color] of the [LinkButton].
|
||||
</theme_item>
|
||||
<theme_item name="font_color_hover" type="Color" default="Color( 0.94, 0.94, 0.94, 1 )">
|
||||
<theme_item name="font_hover_color" type="Color" default="Color( 0.94, 0.94, 0.94, 1 )">
|
||||
Text [Color] used when the [LinkButton] is being hovered.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_pressed" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<theme_item name="font_pressed_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
Text [Color] used when the [LinkButton] is being pressed.
|
||||
</theme_item>
|
||||
<theme_item name="font_size" type="int">
|
||||
|
||||
@ -59,13 +59,13 @@
|
||||
<theme_item name="font_color" type="Color" default="Color( 0.88, 0.88, 0.88, 1 )">
|
||||
Default text [Color] of the [MenuButton].
|
||||
</theme_item>
|
||||
<theme_item name="font_color_disabled" type="Color" default="Color( 1, 1, 1, 0.3 )">
|
||||
<theme_item name="font_disabled_color" type="Color" default="Color( 1, 1, 1, 0.3 )">
|
||||
Text [Color] used when the [MenuButton] is disabled.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_hover" type="Color" default="Color( 0.94, 0.94, 0.94, 1 )">
|
||||
<theme_item name="font_hover_color" type="Color" default="Color( 0.94, 0.94, 0.94, 1 )">
|
||||
Text [Color] used when the [MenuButton] is being hovered.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_pressed" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<theme_item name="font_pressed_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
Text [Color] used when the [MenuButton] is being pressed.
|
||||
</theme_item>
|
||||
<theme_item name="font_size" type="int">
|
||||
|
||||
@ -253,13 +253,13 @@
|
||||
<theme_item name="font_color" type="Color" default="Color( 0.88, 0.88, 0.88, 1 )">
|
||||
Default text [Color] of the [OptionButton].
|
||||
</theme_item>
|
||||
<theme_item name="font_color_disabled" type="Color" default="Color( 0.9, 0.9, 0.9, 0.2 )">
|
||||
<theme_item name="font_disabled_color" type="Color" default="Color( 0.9, 0.9, 0.9, 0.2 )">
|
||||
Text [Color] used when the [OptionButton] is disabled.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_hover" type="Color" default="Color( 0.94, 0.94, 0.94, 1 )">
|
||||
<theme_item name="font_hover_color" type="Color" default="Color( 0.94, 0.94, 0.94, 1 )">
|
||||
Text [Color] used when the [OptionButton] is being hovered.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_pressed" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<theme_item name="font_pressed_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
Text [Color] used when the [OptionButton] is being pressed.
|
||||
</theme_item>
|
||||
<theme_item name="font_size" type="int">
|
||||
|
||||
@ -720,16 +720,16 @@
|
||||
<theme_item name="font_color" type="Color" default="Color( 0.88, 0.88, 0.88, 1 )">
|
||||
The default text [Color] for menu items' names.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_accel" type="Color" default="Color( 0.7, 0.7, 0.7, 0.8 )">
|
||||
<theme_item name="font_accelerator_color" type="Color" default="Color( 0.7, 0.7, 0.7, 0.8 )">
|
||||
The text [Color] used for shortcuts and accelerators that show next to the menu item name when defined. See [method get_item_accelerator] for more info on accelerators.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_disabled" type="Color" default="Color( 0.4, 0.4, 0.4, 0.8 )">
|
||||
<theme_item name="font_disabled_color" type="Color" default="Color( 0.4, 0.4, 0.4, 0.8 )">
|
||||
[Color] used for disabled menu items' text.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_hover" type="Color" default="Color( 0.88, 0.88, 0.88, 1 )">
|
||||
<theme_item name="font_hover_color" type="Color" default="Color( 0.88, 0.88, 0.88, 1 )">
|
||||
[Color] used for the hovered text.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_separator" type="Color" default="Color( 0.88, 0.88, 0.88, 1 )">
|
||||
<theme_item name="font_separator_color" type="Color" default="Color( 0.88, 0.88, 0.88, 1 )">
|
||||
[Color] used for labeled separators' text. See [method add_separator].
|
||||
</theme_item>
|
||||
<theme_item name="font_size" type="int">
|
||||
|
||||
@ -32,7 +32,7 @@
|
||||
<theme_item name="font_color" type="Color" default="Color( 0.94, 0.94, 0.94, 1 )">
|
||||
The color of the text.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_shadow" type="Color" default="Color( 0, 0, 0, 1 )">
|
||||
<theme_item name="font_shadow_color" type="Color" default="Color( 0, 0, 0, 1 )">
|
||||
The color of the text's shadow.
|
||||
</theme_item>
|
||||
<theme_item name="font_size" type="int">
|
||||
|
||||
@ -597,12 +597,12 @@
|
||||
<theme_item name="focus" type="StyleBox">
|
||||
The background The background used when the [RichTextLabel] is focused.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_selected" type="Color" default="Color( 0.49, 0.49, 0.49, 1 )">
|
||||
The color of selected text, used when [member selection_enabled] is [code]true[/code].
|
||||
</theme_item>
|
||||
<theme_item name="font_color_shadow" type="Color" default="Color( 0, 0, 0, 0 )">
|
||||
<theme_item name="font_shadow_color" type="Color" default="Color( 0, 0, 0, 0 )">
|
||||
The color of the font's shadow.
|
||||
</theme_item>
|
||||
<theme_item name="font_selected_color" type="Color" default="Color( 0.49, 0.49, 0.49, 1 )">
|
||||
The color of selected text, used when [member selection_enabled] is [code]true[/code].
|
||||
</theme_item>
|
||||
<theme_item name="italics_font" type="Font">
|
||||
The font used for italics text.
|
||||
</theme_item>
|
||||
|
||||
@ -198,15 +198,15 @@
|
||||
<theme_item name="font" type="Font">
|
||||
The font used to draw tab names.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_bg" type="Color" default="Color( 0.69, 0.69, 0.69, 1 )">
|
||||
Font color of inactive tabs.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_disabled" type="Color" default="Color( 0.9, 0.9, 0.9, 0.2 )">
|
||||
<theme_item name="font_disabled_color" type="Color" default="Color( 0.9, 0.9, 0.9, 0.2 )">
|
||||
Font color of disabled tabs.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_fg" type="Color" default="Color( 0.94, 0.94, 0.94, 1 )">
|
||||
<theme_item name="font_selected_color" type="Color" default="Color( 0.94, 0.94, 0.94, 1 )">
|
||||
Font color of the currently selected tab.
|
||||
</theme_item>
|
||||
<theme_item name="font_unselected_color" type="Color" default="Color( 0.69, 0.69, 0.69, 1 )">
|
||||
Font color of the other, unselected tabs.
|
||||
</theme_item>
|
||||
<theme_item name="font_size" type="int">
|
||||
Font size of the tab names.
|
||||
</theme_item>
|
||||
@ -231,14 +231,14 @@
|
||||
<theme_item name="side_margin" type="int" default="8">
|
||||
The space at the left and right edges of the tab bar.
|
||||
</theme_item>
|
||||
<theme_item name="tab_bg" type="StyleBox">
|
||||
The style of inactive tabs.
|
||||
</theme_item>
|
||||
<theme_item name="tab_disabled" type="StyleBox">
|
||||
The style of disabled tabs.
|
||||
</theme_item>
|
||||
<theme_item name="tab_fg" type="StyleBox">
|
||||
<theme_item name="tab_selected" type="StyleBox">
|
||||
The style of the currently selected tab.
|
||||
</theme_item>
|
||||
<theme_item name="tab_unselected" type="StyleBox">
|
||||
The style of the other, unselected tabs.
|
||||
</theme_item>
|
||||
</theme_items>
|
||||
</class>
|
||||
|
||||
@ -359,15 +359,15 @@
|
||||
<theme_item name="font" type="Font">
|
||||
The font used to draw tab names.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_bg" type="Color" default="Color( 0.69, 0.69, 0.69, 1 )">
|
||||
Font color of inactive tabs.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_disabled" type="Color" default="Color( 0.9, 0.9, 0.9, 0.2 )">
|
||||
<theme_item name="font_disabled_color" type="Color" default="Color( 0.9, 0.9, 0.9, 0.2 )">
|
||||
Font color of disabled tabs.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_fg" type="Color" default="Color( 0.94, 0.94, 0.94, 1 )">
|
||||
<theme_item name="font_selected_color" type="Color" default="Color( 0.94, 0.94, 0.94, 1 )">
|
||||
Font color of the currently selected tab.
|
||||
</theme_item>
|
||||
<theme_item name="font_unselected_color" type="Color" default="Color( 0.69, 0.69, 0.69, 1 )">
|
||||
Font color of the other, unselected tabs.
|
||||
</theme_item>
|
||||
<theme_item name="font_size" type="int">
|
||||
Font size of the tab names.
|
||||
</theme_item>
|
||||
@ -382,14 +382,14 @@
|
||||
</theme_item>
|
||||
<theme_item name="panel" type="StyleBox">
|
||||
</theme_item>
|
||||
<theme_item name="tab_bg" type="StyleBox">
|
||||
The style of an inactive tab.
|
||||
</theme_item>
|
||||
<theme_item name="tab_disabled" type="StyleBox">
|
||||
The style of a disabled tab
|
||||
The style of disabled tabs.
|
||||
</theme_item>
|
||||
<theme_item name="tab_fg" type="StyleBox">
|
||||
<theme_item name="tab_selected" type="StyleBox">
|
||||
The style of the currently selected tab.
|
||||
</theme_item>
|
||||
<theme_item name="tab_unselected" type="StyleBox">
|
||||
The style of the other, unselected tabs.
|
||||
</theme_item>
|
||||
</theme_items>
|
||||
</class>
|
||||
|
||||
@ -697,7 +697,7 @@
|
||||
</member>
|
||||
<member name="mouse_default_cursor_shape" type="int" setter="set_default_cursor_shape" getter="get_default_cursor_shape" override="true" enum="Control.CursorShape" default="1" />
|
||||
<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_color_selected[/code] will be used for selected text.
|
||||
If [code]true[/code], custom [code]font_selected_color[/code] will be used for selected text.
|
||||
</member>
|
||||
<member name="readonly" type="bool" setter="set_readonly" getter="is_readonly" default="false">
|
||||
If [code]true[/code], read-only mode is enabled. Existing text cannot be modified and new text cannot be added.
|
||||
@ -953,9 +953,9 @@
|
||||
<theme_item name="font_color" type="Color" default="Color( 0.88, 0.88, 0.88, 1 )">
|
||||
Sets the font [Color].
|
||||
</theme_item>
|
||||
<theme_item name="font_color_readonly" type="Color" default="Color( 0.88, 0.88, 0.88, 0.5 )">
|
||||
<theme_item name="font_readonly_color" type="Color" default="Color( 0.88, 0.88, 0.88, 0.5 )">
|
||||
</theme_item>
|
||||
<theme_item name="font_color_selected" type="Color" default="Color( 0, 0, 0, 1 )">
|
||||
<theme_item name="font_selected_color" type="Color" default="Color( 0, 0, 0, 1 )">
|
||||
Sets the [Color] of the selected text. [member override_selected_font_color] has to be enabled.
|
||||
</theme_item>
|
||||
<theme_item name="font_size" type="int">
|
||||
|
||||
@ -524,7 +524,7 @@
|
||||
<theme_item name="font_color" type="Color" default="Color( 0.69, 0.69, 0.69, 1 )">
|
||||
Default text [Color] of the item.
|
||||
</theme_item>
|
||||
<theme_item name="font_color_selected" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
<theme_item name="font_selected_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||
Text [Color] used when the item is selected.
|
||||
</theme_item>
|
||||
<theme_item name="font_size" type="int">
|
||||
|
||||
Reference in New Issue
Block a user