-
... ight: windowHeight ), resizable: false ); window.front; window.view.decorator = FlowLayout.new( bounds: window.view.bounds, margin: Point.new(margin, margin), gap: Point.new(gap, gap) ); // header is just the area where drop down menu sits ...
-
... , 310, (param[0].size * 20) + 50), resizable:false); win.view.decorator = lay = FlowLayout(win.view.bounds, 5@5, 5@5); GUI.staticText.new(win, 12 @ 15).font_(GUI.font.new("Helvetica", 9)) .string_("in").align_(\right); inbuspop = GUI.popUpM ...
-
... level=0; w = Window("test", Rect(40, 240, 200, 200)).front; w.view.decorator = FlowLayout(w.bounds.copy.left_(30).top_(30)); b = { |i| { |j| var c = ({ "abcd".choose } ! 3).join; Button(w, Rect(0,0, 30,25)) .states_([[c, Color.black]]) .ac ...
-
... 1, -4); a = SCWindow("envelope", Rect(200 , 450, 250, 100)); a.view.decorator = FlowLayout(a.view.bounds); b = SCEnvelopeView(a, Rect(0, 0, 230, 80)) .drawLines_(true) .selectionColor_(Color.red) .drawRects_(true) .resize_(5) .action_({arg ...
-
/* ( w = Window.new("test", Rect(0,0, 800, 600)).front; w.view.decorator = FlowLayout.new(w.view.bounds); b = { var spec = Spec.specs.select({|x| x.isKindOf(ControlSpec)}).keys.choose; MinBox.new(w, (0@0)@([rrand(20,100)@rrand(20,100)].choo ...
-
... w.new(label, this.calculateViewBounds, resizable: false); // w.view.decorator = FlowLayout(w.view.bounds); // } { // // changed here XXXXX // try { label = w.name } // }; // // if(isLocal) { // booter = gui.button.new(w, Rect(0,0, 44, 18)); ...
-
... high w = Window().front; g = JITGui(Ndef(\a), 5, w); ) ( // recommended: use a FlowLayout. w = Window().front; w.addFlowLayout; EZSlider(w, 300@100, \test, []); g = JITGui(Ndef(\a), 0, w, bounds: 300@40); ) // test changing color schemes f ...
-
... tsOnPage { |page| var columnSpacingTrend, layout, placeFunc, scanFunc; layout = FlowLayout( Rect(0,0,32,32), 0@0, 0@0 ); placeFunc = { |element| var bounds, style; if( element.elemDesc[ \page ] == page ) { bounds = ().bounds_( switch( eleme ...
-
... new("Virtual Room Properties", Rect(128, 64, 340, 100)); w.view.decorator = f = FlowLayout(w.view.bounds,Point(4,4),Point(4,2)); t = GUI.staticText.new(w, Rect(0, 0, 75, height+2)); t.string = "RefGain: "; v[0] = GUI.staticText.new(w, Rect( ...
-
... lse ).front; window.onClose_({ widgets.do(_.remove) }); window.view.decorator = FlowLayout(window.view.bounds); if( this.hasMasterServer ) { //delayViews = syncDelays.copy; SmoothButton( window, Rect( 0, 0, 16, 16 ) ) .states_([["K", Color. ...