-
... ect(150, Window.screenBounds.height - 500, 400, 400)).front; w.view.decorator = FlowLayout(w.view.bounds); StaticText.new(w, Rect(5, 0, 30, 20)).string_("Font").align_(\right); m = PopUpMenu(w, Rect(40, 0, 250, 20)); m.items = Font.availabl ...
-
... wouldExceedBottom Help template Classes | Undocumented classes FlowViewLayout : FlowLayout : Decorator : Object (Undocumented class) Source: SCViewHolder.sc Description This class is missing documentation. Class Methods Inherited class meth ...
-
... moveTo(0,0).insetBy(20,20)) .background_(Color.rand) .resize_(i); y.decorator = FlowLayout(y.bounds).gap_(0.0 @ 0.0); t = StaticText(y, Rect(0, 0, 40, 40)) .background_(Color.rand.alpha_(0.8)) .resize_(i) .string_(i) .font_(Font("Helvetica" ...
-
... s the common task of creating a Window, adding a FlowView (CompositeView with a FlowLayout on it). It also supports the MVC model by registering controllers that are then removed (sent the .remove message) when the Window closes. Additional ...
-
... ndlestick graph: ( var size; size = 350 / 6; w = Window.new; w.view.decorator = FlowLayout(w.view.bounds); m = MultiSliderView(w, Rect(0, 0, 350, 100)); m.value_(Array.fill(size, { 0.01 })); m.isFilled_(true); // width in pixels of each sti ...
-
... ple: ( // default with vertical layout w = Window.new.front; w.view.decorator = FlowLayout(w.view.bounds); g = EZListView.new(w, 230@230, "An ListView:", [ \item0 ->{ |a| ("this is item 0 of " ++ a).postln }, \item1 ->{ |a| ("this is item 1 ...
-
... s of sliders on on view. nice tight fit. ( w=Window.new.front; w.view.decorator=FlowLayout(w.view.bounds); w.view.decorator.gap=0@0; 20.do{ EZFancySlider(w, 392@14," Freq ", \freq,unitWidth:30,initVal:6000.rand, numberWidth:60,layout:\horz) ...
-
... ite); ); // lots of knobs on on view ( w = Window.new.front; w.view.decorator = FlowLayout(w.view.bounds); w.view.decorator.gap = 2@2; 20.do{ EZKnob(w, 180@24, " Freq ", \freq, unitWidth: 30, initVal: 6000.rand, layout: \horz) .setColors(Co ...
-
... w.acceptsMouseOver = true; // must be true in parent window! w.view.decorator = FlowLayout(w.view.bounds); h = StaticText(w, 150 @ 10); w.view.decorator.nextLine; k = Array(8); 8.do({ |item, i| var knob; knob = Knob.new(w, size @ size) .act ...
-
... -resize mode of the children is ignored. One should not use a decorator such as FlowLayout directly on a ScrollView, only on a container view placed within it. Class Methods Inherited class methods Undocumented class methods ScrollView. new ...