Re: Custom param text box in fcp
Re: Custom param text box in fcp
- Subject: Re: Custom param text box in fcp
- From: Paul Schneider <email@hidden>
- Date: Tue, 9 Oct 2007 01:48:43 -0400
Hi, Ben,
FCP doesn't let you programmatically resize your custom view once
it's been created. We will use the initial height you specify when
you create the view; however, we will resize the width of your view
to fit the "Parameters" column in the parameter list. The user can
resize this column by dragging the column header, but there isn't a
way for a plugin to programmatically resize it.
There's a more severe limitation in FCP, which you are probably
hitting with your text view. FxPlug custom UI can't gain focus in
Final Cut. This means that you won't be able to receive keyboard or
scroll wheel events. This is a side effect of the way we host Cocoa
UI in our Carbon application.
For now, the best workaround is to provide a "settings..." button in
your custom UI that runs your own modal dialog. We're looking into
ways of improving the situation in the future.
- Paul
On Oct 5, 2007, at 11:37 AM, Benjamin Kent wrote:
Hi,
I'm trying to make a custom parameter text box using fxplug on fcp.
The strings I'll need to put in may vary in length quite
considerably. Using NSTextView at the moment, the result seems a
little flaky - as you click around it, the displayed text
occasionally seems to rearrange itself. Also, I can't figure out
how to make it resize automatically to the length of the string. Is
there a more sensible way to do this?
Cheers
Ben
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40apple.com
This email sent to email@hidden
_______________________________________________
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