-
... ; }, labelWidth: 50, numberWidth: 25 ); }; flo.nextLine; // make labels: comp = CompositeView(view, Rect(0,0, width, multiHeight + 50)); numLines = (freqs.size / maxNumLabels).ceil.asInteger; numLabels = (freqs.size / numLines).ceil.asInteg ...
-
... wHeight, margin, gap ); controller = SimpleController( arrayConf ); composite = CompositeView( parent, bounds ).resize_(2); composite.addFlowLayout( margin, gap ); composite.onClose = { controller.remove }; if( selected ) { composite.backgr ...
-
... ; }, labelWidth: 50, numberWidth: 25 ); }; flo.nextLine; // make labels: comp = CompositeView(view, Rect(0,0, width, multiHeight + 50)); numLines = (freqs.size / maxNumLabels).ceil.asInteger; numLabels = (freqs.size / numLines).ceil.asInteg ...
-
... 64, 510, 320)); w.view.background = Color .white; w.front; ~layoutLeft = CompositeView (w, Rect (0, 0, 400, 320)); // make the left pane of the window ~layoutLeft.decorator = FlowLayout (~layoutLeft.bounds); // auto-arrange the ...
-
... s that can contain other views and are thus called containers , for example the CompositeView. They allow for structuring GUI in a hierarchical way. A container view is called a parent of the views it contains, and they are called its child ...
-
... Tab.bounds, KeyDownActions.globalShortcuts, false, false, false ); saveCancel = CompositeView(window, Rect(0, window.bounds.height-49, window.bounds.width, 49)) .background_(tabsBg) ; saveCancel.decorator = saveCancelFlow = FlowLayout(saveC ...
-
... nt, Rect(0,0, 8 * (viewWidth + 12) + 8, (viewHeight + 24)) ).resize_(2); comp = CompositeView( scrollView, Rect(0,0, n * (viewWidth + 12) + 8, (viewHeight + 8)) ); comp.addFlowLayout; n.do({ |i| this.makeStripView( comp, i, viewWidth, viewH ...
-
... ultSansFace, viewHeight - 4) }; localEvents = tempoMap.events.copy; composite = CompositeView( scrollView, bounds); composite.addFlowLayout; ctrl = SimpleController( tempoMap ) .put( \events, { var currentEvent; if( tempoMap.events != local ...
-
... ultSansFace, viewHeight - 4) }; localEvents = tempoMap.events.copy; composite = CompositeView( scrollView, bounds); composite.addFlowLayout; ctrl = SimpleController( tempoMap ) .put( \events, { var currentEvent; if( tempoMap.events != local ...
-
... es_([[name, Color.black, Color(1, 0.7, 0)]]); but.action_(func); } ); butZone = CompositeView(zone, Rect(0,0, 110, bounds.height - (skin.margin.y * 2))); butZone.addFlowLayout(2@2, 1@0); buttons = numItems.collect { Button.new(butZone, Rect ...