Skip to content

colour properties #579

@dhardy

Description

@dhardy

Node has background_color and foreground_color properties. Are these required? Are they useful? Are they expected to provide an exact sRGB match?

Background colour is slightly problematic since (from my point of view) many widgets don't have a background; they simply draw on top of something else — which may or may not explicitly be a background.

In both cases, the widget tree may know nothing of the colours used, brush style, transparency or underlying surface, and may not receive any notification if any of these change.

Maybe these properties are only useful if e.g. a button has a specified foreground colour?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions