Skip to content

Setting the bounds of any NxWidget causes it to lose all state #16

@muellmusik

Description

@muellmusik

For example

(
c = NxComment(Rect(50, 50, 50, 50));
c.text = "hello";
)

c.bounds = Rect(50, 50, 50, 50)

I realise bounds_ is undocumented, but moving a widget is a pretty common thing to do, and this is pretty surprising. Looking at the nxserver OSC messages it looks like bounds just recreates the widget.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions