Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions arcade/gui/widgets/text.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
from arcade.gui.surface import Surface
from arcade.gui.widgets import UIWidget, Rect
from arcade.gui.widgets.layout import UIAnchorLayout
from arcade.types import RGBA255, Color, RGBOrA255, RGB
from arcade.types import RGBA255, Color, RGBOrA255


class UILabel(UIWidget):
Expand Down Expand Up @@ -298,7 +298,8 @@ class UIInputText(UIWidget):
:py:class:`~arcade.gui.UITextWidget` ``multiline`` of
True is the same thing as
a :py:class:`~arcade.gui.UITextArea`.
:param caret_color: RGB color of the caret.
:param caret_color: An RGBA or RGB color for the caret with each
channel between 0 and 255, inclusive.
:param size_hint: A tuple of floats between 0 and 1 defining the amount of
space of the parent should be requested.
:param size_hint_min: Minimum size hint width and height in pixel.
Expand All @@ -323,7 +324,7 @@ def __init__(
font_size: float = 12,
text_color: RGBOrA255 = (0, 0, 0, 255),
multiline=False,
caret_color: RGB = (0, 0, 0),
caret_color: RGBOrA255 = (0, 0, 0, 255),
size_hint=None,
size_hint_min=None,
size_hint_max=None,
Expand Down