[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-dev] EZ methods



That would be possible.

These two EZ's are the only ones so far to have an enclosing
CompositeView. I worry about adding a CompositeView  to the others,
since it could mess up people's layouts. Though I suppose they could
have zero margin parents.
Should I look into this as well?

A window would be no problem though.

jostM




I wonder if they should have a little randomness in the initial screen
position, in case you open several. Or I should make a switch so that
bounds means the window if there is no parent provided. Actually, that
makes sense.

Other EZs don't have parent CompositeViews

Scott Wilson wrote:
> Should other EZs do something similar for consistency?
>
> On 21 Dec 2008, at 09:38, jostM wrote:
>
>> Just to let people know:
>>
>> both EZPopUpMenu and EZListView now allow for quick creation without a
>> window (good for preference panes, etc.)
>>
>>        (
>>        g = EZListView.new(label: "My PopUp List:");
>>        g.addItem(\item0, {"this is item 0". postln});
>>        g.addItem(\item1, {"this is item 1". postln});
>>        g.addItem(\item2, {"this is item 2". postln});
>>        )
>>
>>
>>        (
>>        g = EZPopUpMenu.new(bounds: 200@20 , label:"PopUp Menu:");
>>        g.addItem(\item0, {"this is item 0". postln});
>>        g.addItem(\item1, {"this is item 1". postln});
>>        g.addItem(\item2, {"this is item 2". postln});
>>        )
>>
>> jost
>>
>> _______________________________________________
>> sc-dev mailing list
>>
>> info (subscription, etc.):
>> http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
>> archive: https://listarc.bham.ac.uk/marchives/sc-dev/
>> search: https://listarc.bham.ac.uk/lists/sc-dev/search/
>
>
> _______________________________________________
> sc-dev mailing list
>
> info (subscription, etc.):
> http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
> archive: https://listarc.bham.ac.uk/marchives/sc-dev/
> search: https://listarc.bham.ac.uk/lists/sc-dev/search/
>

_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/