-
... nds; bounds = nil }; bounds = bounds ?? { ((height * 2) + 2) @ height }; view = CompositeView( parent, bounds ); view.addFlowLayout( 0@0, 2@2 ); view.onClose_({ undoManager.removeDependant( ctrlFunc ); }); bounds = view.drawBounds; if( obje ...
-
... dth = bounds.width - 12; }; controller = SimpleController( chain ); composite = CompositeView( parent, bounds ).resize_(5); composite.addFlowLayout( margin, gap ); composite.onClose = { |vw| controller.remove; this.removeFromAll; if( compos ...
-
TabbedView an array of CompositeViews (or ScrollViews) with tabs for switching by Jost Muxfeldt, Oct 09, 2012 version 1.29 Change history at bottom. Class Methods *new(parent,bounds,labels,colors,name,scroll) returns a TabbedView object par ...
-
... rs[i]) ; }); tabs.tabViews.do({ |tab| tab.view.hasBorder_(false) }); tabView0 = CompositeView( tabs.views[0].view, Point(tabs.views[0].view.bounds.width, tabs.views[0].view.bounds.height) ); tabView1 = CompositeView( tabs.views[1].view, Poi ...
-
... dth = bounds.width - 12; }; controller = SimpleController( chain ); composite = CompositeView( parent, bounds ).resize_(5); composite.addFlowLayout( margin, gap ); composite.onClose = { |vw| controller.remove; this.removeFromAll; if( compos ...
-
... .new(gap, gap) ); // header is just the area where drop down menu sits header = CompositeView.new(window, Rect.new(0, 0, windowWidth - (margin * 2), 50)); // StaticText goes first so EZPopUpMenu stays on top StaticText.new( parent: header, ...
-
... oller ?? { createdController = true; SimpleController( object ); }; composite = CompositeView( parent, bounds ).resize_(2); composite.onClose = { controller.put( key, nil ); if( createdController ) { controller.remove }; }; setter = key.asS ...
-
... oller ?? { createdController = true; SimpleController( object ); }; composite = CompositeView( parent, bounds ).resize_(2); composite.onClose = { controller.put( key, nil ); if( createdController ) { controller.remove }; }; setter = key.asS ...
-
... sNil ) { bounds= 350 @ (this.class.viewNumLines * (viewHeight + 4)) }; view = EZCompositeView( parent, bounds, gap: 4@4 ); bounds = view.asView.bounds; view.onClose_({ this.remove; }); view.resize_( resize ? 5 ); views = (); views[ \path ] ...
-
... lux(\x) control", Rect(5, 540, 320, 210)).front; q.win.addFlowLayout; q.comp1 = CompositeView(q.win, q.win.bounds.width_(120)); q.comp1.addFlowLayout; StaticText(q.comp1, Rect(0, 0, 110, 20)) .align_(\center).string_("Change weights:"); [ " ...