-
... unds.width, 32)) .background_(tabsBg) ; saveCancel.decorator = saveCancelFlow = FlowLayout(saveCancel.bounds, 7@2, 1@0); // common preferences prefsTab = tabs.add("common preferences", scroll: false).background_(tabsBg); scTab = tabs.add("s ...
-
... iew. ( // 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 it ...
-
... 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" ...
-
... w(mainComposite,Rect(88,0,4 + ((60+4)*(listSize-1)) + 20,24)); scoreListView.addFlowLayout; scoreList[..(listSize-2)].do{ |score,i| SmoothButton(scoreListView,60@16) .states_([[(i+1).asString++": "++score.name, Color.black, Color.clear]]) . ...
-
... "Module Browser", windowRect, resizable: false).front; window.view.decorator = FlowLayout( window.view.bounds ); window.background_(Color.fromHexString("#282828")); listView = EZListView.new(window,200@600); listView.font = Font("Monaco", ...
-
... 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 ...
-
... ("OceanData",360@420).front.onClose_({ updateIndicators.stop }); q = window.addFlowLayout; // add flowLayout // create and customize 8 Level indicators indicators = Array.fill(8, {LevelIndicator(window,40@200)}); q.nextLine; indica ...
-
... , Rect(10, named.values.indexOf(this) * 120 + 10, 320, 92)); w.view.decorator = FlowLayout(w.view.bounds); }); if(isLocal,{ if( useRoundButton ) { booter = RoundButton(w, Rect(0,0, 18, 18)).canFocus_( false ); booter.states = [[ \power, Col ...
-
... 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 ...
-
... Window.new("makams", Rect(100, 100, 900, 600)); makam_window.view.decorator = FlowLayout(makam_window.view.bounds); makam_window.front; makam_option_button_creator.value(); }; makam_option_button_creator = { makam_list.size. ...