-
... o prevent a lot of work on old code due to deprication of relativeOrigin // for CompositeViews // use on a view that used to have relativeOrigin == true /* composite.decorator = AbsLayout( composite ); */ var <absoluteBounds; *new { arg par ...
-
... enBounds.width - 705, Window.screenBounds.height - 850, 600, 700 ); }; view = EZCompositeView( parent ? "Udefs", bounds, true, 0@0, 0@0 ).resize_(5); bounds = view.bounds; view.onClose_({ if( current == this ) { current = nil }; }); composi ...
-
... enBounds.width - 705, Window.screenBounds.height - 850, 600, 700 ); }; view = EZCompositeView( parent ? "Udefs", bounds, true, 0@0, 0@0 ).resize_(5); bounds = view.bounds; view.onClose_({ if( current == this ) { current = nil }; }); composi ...
-
... , numberWidth| spec = argSpec.asSpec; value = spec.constrain(initValue); view = CompositeView(parent, bounds); view.layout = HLayout( number = NumberBox().maxWidth_(numberWidth), slider = Slider().orientation_(\horizontal) ).margins_(0).spa ...
-
... lue_(0) } }; } init { |parent, bounds| var center = bounds.extent * 0.5; zone = CompositeView(parent, bounds) .background_(Color.grey(0.8, 0.5)); skin = GUI.skins.jit; nameView = StaticText(zone, Rect.aboutPoint(center, 30, 10)) // .string_ ...
-
... lue_(0) } }; } init { |parent, bounds| var center = bounds.extent * 0.5; zone = CompositeView(parent, bounds) .background_(Color.grey(0.8, 0.5)); skin = GUI.skins.jit; nameView = StaticText(zone, Rect.aboutPoint(center, 30, 10)) // .string_ ...
-
... edBottom Examples Classes | GUI > Views'>Views FlowView : SCViewHolder : Object CompositeView with a FlowLayout as decorator Source: SCViewHolder.sc See also: FlowLayout , CompositeView Description In the simplest respect this is a lazy con ...
-
... and example code for writing it as a SC Class. GUI design: These variables hold CompositeViews placed onto main window: ___________________________ | leftTop | | |____________| | | | | | leftBottom | right | | | | |____________| | | | | | v ...
-
... : A new ServerMeterView Inherited class methods Instance Methods . view get the CompositeView used to construct the various elements of the ServerMeterView widget Returns: a CompositeView . remove Removes this ServerMeterView from its paren ...
-
... A Window automatically has its own top level container, which is a subclass of CompositeView . A CompositeView can have a decorator , which automatically places the contents in a predetermined order. In this case it is a FlowLayout , which ...