-
... faultSansFace, viewHeight - 4) }; localEvents = barMap.events.copy; composite = CompositeView( scrollView, bounds ); composite.addFlowLayout; ctrl = SimpleController( barMap ) .put( \events, { var currentEvent; localEvents.do({ |item, i| al ...
-
... ts Source: FlowLayout.sc Subclasses: FlowViewLayout See also: SCContainerView , CompositeView Description FlowLayout is a decorator which automatically arranges views inside a container view in a row, and starts a new row if there is not en ...
-
... t_absoluteBounds { var w,c,d,s,t,bounds,absoluteBounds; w = SCWindow.new("TestSCCompositeView:test_absoluteBounds white comp should be in the middle of blue comp"); c = GUI.scrollView.new(w,Rect(30,30,300,300)); c.background = Color.blue; t ...
-
... iewHeight, margin, gap ); controller = SimpleController( options ); composite = CompositeView( parent, bounds ).resize_(2); composite.addFlowLayout( margin, gap ); composite.onClose = { controller.remove }; views = (); RoundView.pushSkin( U ...
-
... ds; var comp, b; b = bounds ?? { this.indentedRemaining }; b = b.asRect; comp = CompositeView.new(this, b); func.value(comp); ^comp } scroll { arg func, bounds, autohidesScrollers=true, autoScrolls=true, hasHorizontalScroller=true, hasVerti ...
-
... = Window.new("MiniHive Configuration", Rect( 200, 0, 500, 300 + 380 )); hview = CompositeView.new(w, Rect( 0,0, 500, 50)); hview.addFlowLayout(2@2); save = [ TextField.new( hview, 325@20 ), Button.new( hview, 60@20 ).states_( [ ["save"] ]). ...
-
... iew = context.scrollView.new(tabbedView.view).resize_(5) }{ this.view = context.compositeView .new(tabbedView.view,tabbedView.view.bounds).resize_(5) }; //bounds are set later homeView=tabbedView; this.refreshEventHandlers; ^this; } tabWidt ...
-
... Thread; ctlr.remove; }; }); if(this.serverRunning,running,stopped); composite = CompositeView( w, 200@18 ); infoString = GUI.staticText.new(composite, Rect(50,0, 200, 18)); infoString.string = this.uInfoString; infoString.font_( font ); cpu ...
-
... lView.new(tabbedView.view).resize_(5).hasBorder_(false); }{ this.view = context.compositeView .new(tabbedView.view,tabbedView.view.bounds).resize_(5) }; //bounds are set later homeView=tabbedView; this.refreshEventHandlers; ^this; } tabWidt ...
-
... Layout(parent.bounds.moveTo(0,0), gap, gap); parent; }; comp = comp ?? { comp = CompositeView(parent, Rect(0,0, width, height)) .background_(Color.gray(0.9)); comp.decorator = FlowLayout(comp.bounds, gap, gap); comp; }; if (top) { this.topL ...