Skip to content

Should UI controls accept None for text? #1799

@cspotcode

Description

@cspotcode

self._default_button = UIFlatButton(
text=self._value, width=self.width, height=self.height
)

self._value might be None, but UIFlatButton claims it won't accept None.

self._default_button = UIFlatButton(
    text=self._value, width=self.width, height=self.height
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    guiRelated to arcade GUI (sub module arcade.gui)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions