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