-
1. Re: [JS][CS3] Drop down menu problem
Roy Marshall Aug 14, 2010 3:41 AM (in response to Roy Marshall)As suspected, the bounds were incorrect. Also, it was placed in a window before a panel was placed over the top of it. Although I could see the list, I still couldn't select from it. I added the list at the end of the window entries and all is fine.
-
2. Re: [JS][CS3] Drop down menu problem
Steven.. Aug 15, 2010 7:51 PM (in response to Roy Marshall)Don't use bounds, they will display differently on windows and mac, since there are different native controls and default fonts. Use the layout manager and you will avoid these issues
-
3. Re: [JS][CS3] Drop down menu problem
Roy Marshall Aug 17, 2010 1:24 AM (in response to Steven..)I assume using the layout manager means letting the script automatically decide what to do? Does that mean that I shouldn't position my buttons etc manually?
Cheers
Roy
-
4. Re: [JS][CS3] Drop down menu problem
Steven.. Aug 17, 2010 7:45 PM (in response to Roy Marshall)I assume using the layout manager means letting the script automatically decide what to do? Does that mean that I shouldn't position my buttons etc manually?
When using layout manager you don't give actual co-ordinates of any of the containers or elements. However you do need to guide the Layout Manager with orientation etc.. about How you wan't your dialog to look.
For a sample, almost all scripts that com with bridge as scriptui sdk are written using Layout Manager
-
5. Re: [JS][CS3] Drop down menu problem
Marijan Tompa Aug 18, 2010 1:42 AM (in response to Roy Marshall)Hey!
Great help in creating ScriptUI interface is autoLayoutCreator. It's free and you can do really great stuff in short time.
--
tomaxxi
-
-
-
8. Re: [JS][CS3] Drop down menu problem
Harbs. Aug 18, 2010 4:46 AM (in response to Marijan Tompa)True. But $2 a pop isn't too bad...
Personally, I've built my own Script UI library which I use for creating dialogs.
Harbs
-
9. Re: [JS][CS3] Drop down menu problem
Marijan Tompa Aug 18, 2010 5:08 AM (in response to Harbs.)Yeah, not big deal, but my country doesn't support PayPal
And I don't have inspiration and time to build my own library.--
tomaxxi
-
10. Re: [JS][CS3] Drop down menu problem
Steven.. Aug 18, 2010 5:56 AM (in response to Harbs.)Harbs. wrote:
Or Rapid ScriptUI...
Harbs
Thanks for the plug...
I was really trying hard not to advertise, but rather to advocate the correct way to use ScriptUI.
However once it was brought up let me just say a word. Most apps that automatically create dialogs will use co-ordinates and bounds, overriding the default layout manager. In that Rapid ScriptUI is different, since it shows you how to manipulate position of elements without using layout manager.
The $2 script, while still existing, is a really old version of the library, however the professional version is extremely capable and outputs code which is really easy to understand and edit if necessary.
I did not realize that some countries don't allow paypal. But if its an issue, contact me via prvt or contact page on scriptui.com and we could try to work something out.
Steven Bryant



