diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-09-28 12:13:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-28 12:13:54 +0200 |
commit | cd570539ee53c7cdb94b4856188966623e61bf1a (patch) | |
tree | 4cfe72ec16bb12af5992193fc3d09489dbc37762 | |
parent | 60988a06c2793f38280fb0c966b30361482546b9 (diff) | |
parent | 67db227f86c7f701604396ca716db6852b456d57 (diff) |
Merge pull request #53040 from pycbouh/docs-color-picker-and-button
-rw-r--r-- | doc/classes/ColorPicker.xml | 1 | ||||
-rw-r--r-- | doc/classes/ColorPickerButton.xml | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/doc/classes/ColorPicker.xml b/doc/classes/ColorPicker.xml index 571ffd592a..f33016cc6c 100644 --- a/doc/classes/ColorPicker.xml +++ b/doc/classes/ColorPicker.xml @@ -5,6 +5,7 @@ </brief_description> <description> Displays a color picker widget. Useful for selecting a color from an RGB/RGBA colorspace. + [b]Note:[/b] This control is the color picker widget itself. You can use a [ColorPickerButton] instead if you need a button that brings up a [ColorPicker] in a pop-up. </description> <tutorials> <link title="Tween Demo">https://godotengine.org/asset-library/asset/146</link> diff --git a/doc/classes/ColorPickerButton.xml b/doc/classes/ColorPickerButton.xml index dcef1c55f7..1cdfbd760e 100644 --- a/doc/classes/ColorPickerButton.xml +++ b/doc/classes/ColorPickerButton.xml @@ -6,6 +6,7 @@ <description> Encapsulates a [ColorPicker] making it accessible by pressing a button. Pressing the button will toggle the [ColorPicker] visibility. See also [BaseButton] which contains common properties and methods associated with this node. + [b]Note:[/b] By default, the button may not be wide enough for the color preview swatch to be visible. Make sure to set [member Control.rect_min_size] to a big enough value to give the button enough space. </description> <tutorials> <link title="GUI Drag And Drop Demo">https://godotengine.org/asset-library/asset/133</link> |