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

Re: [sc-dev] EZ methods




On 21 Dec 2008, at 10:05, jostM wrote:

oops, I mangled that last message. here it is again

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?

Well, I think it would be best if they were consistent. I thought the consensus was that you shouldn't need a FlowLayout to use them. The 0 margins approach seems sensible.

Any objections?

S.




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.


A window would be no problem though.

jostM







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/


_______________________________________________
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/