Changing size of custom-UI parameter NSView
Changing size of custom-UI parameter NSView
- Subject: Changing size of custom-UI parameter NSView
- From: Dave Howell <email@hidden>
- Date: Thu, 27 Apr 2017 13:04:02 -0700
I’ve somehow found myself doing FxPlug development again. Good times!
I have a custom-UI parameter whose NSView needs to change size depending on some internal conditions. There are two reasons for this:
1. The custom interface includes some disclosure controls that can open up sub-panels.
2.One of the sub-panels is always square, so when the user resizes Motion’s filter pane horizontally, I need to resize my view vertically so the panel will remain square.
It doesn’t seem to be as simple as just having my view call -setFrameSize: or -setFrameOrigin:.
Is dynamic view sizing supported in Motion? Any tips to get this to work correctly?
Cheers,
Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden