Skip to content

Conversation

reykjalin
Copy link
Contributor

@reykjalin reykjalin commented Oct 11, 2020

Proposed changes

  • Add SFView.setSize and SFView.setSize2 functions as options to change the size of the provided view.

The new bindings pretty much just copy what the pre-existing setCenter bindings already do for SFViews.

Working example available here.

Possible caveats

I haven't tested the C stubs because I can't build the C stubs (see #5), so they might need some work, but my assumption is that they work since the functions pretty much mirror the setCenter functions.

@fccm fccm merged commit eed5672 into fccm:master Oct 11, 2020
@reykjalin reykjalin deleted the add-view-set-size branch October 11, 2020 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants