diff --git a/classes/class_editorexportplatformextension.rst b/classes/class_editorexportplatformextension.rst index 3c1b434dea6..c33dd228902 100644 --- a/classes/class_editorexportplatformextension.rst +++ b/classes/class_editorexportplatformextension.rst @@ -62,7 +62,7 @@ Methods +------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`_get_name`\ (\ ) |virtual| |required| |const| | +------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ - | :ref:`ImageTexture` | :ref:`_get_option_icon`\ (\ device\: :ref:`int`\ ) |virtual| |const| | + | :ref:`Texture2D` | :ref:`_get_option_icon`\ (\ device\: :ref:`int`\ ) |virtual| |const| | +------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`_get_option_label`\ (\ device\: :ref:`int`\ ) |virtual| |const| | +------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ @@ -330,7 +330,7 @@ Returns export platform name. .. rst-class:: classref-method -:ref:`ImageTexture` **_get_option_icon**\ (\ device\: :ref:`int`\ ) |virtual| |const| :ref:`🔗` +:ref:`Texture2D` **_get_option_icon**\ (\ device\: :ref:`int`\ ) |virtual| |const| :ref:`🔗` Returns the item icon for the specified ``device`` in the one-click deploy menu. The icon should be 16×16 pixels, adjusted for the current editor scale (see :ref:`EditorInterface.get_editor_scale()`). diff --git a/classes/class_spinbox.rst b/classes/class_spinbox.rst index 932bc4c3cc1..e5141ee2025 100644 --- a/classes/class_spinbox.rst +++ b/classes/class_spinbox.rst @@ -210,7 +210,7 @@ Changes the alignment of the underlying :ref:`LineEdit`. If not ``0``, sets the step when interacting with the arrow buttons of the **SpinBox**. -\ **Note:** :ref:`Range.value` will still be rounded to a multiple of :ref:`step`. +\ **Note:** :ref:`Range.value` will still be rounded to a multiple of :ref:`Range.step`. .. rst-class:: classref-item-separator @@ -585,7 +585,7 @@ Up button icon when the button is being pressed. :ref:`Texture2D` **updown** :ref:`🔗` -Single texture representing both the up and down buttons icons. It is displayed in the middle of the buttons and does not change upon interaction. It is recommended to use individual :ref:`up` and :ref:`down` graphics for better usability. This can also be used as additional decoration between the two buttons. +Single texture representing both the up and down buttons icons. It is displayed in the middle of the buttons and does not change upon interaction. If a valid icon is assigned, it will replace :ref:`up` and :ref:`down`. .. rst-class:: classref-item-separator