-
... <nameSet, <statusButton, <quant; // record-quantize control guiBody { arg lay; layout = lay; mainView.isNil.if({ // if this gui is already open, don't recreate mainView = FlowView(layout, argBounds ?? { Rect(0, 0, 700, 300) }, margin: 2@2) ...
-
/**************************** MKtl support for touchOSC, Layout Simple, all 4 pages ( more touchOSC layouts may be added later, in new desc files ) ****** INSTRUCTIONS to test: ****** * log the smartphone with touchosc and the computer with ...
-
... not }) { try { w.front }; ^this }; this.makeWin; } *checkFontSize { // estimate layout height, and reduce font size if needed var maxbutheight = (Window.screenBounds.height - 24 / (curr.actions.size)); var maxfontsize = (maxbutheight / 2 - ...
-
... Returns: (returnvalue) . writeName Returns: (returnvalue) . guiBody Arguments: layout the parent view, FlowView or window bounds . guiEvent Arguments: ev layout the parent view, FlowView or window Returns: (returnvalue) . formatMsg Argumen ...
-
... assvar <tabLabel = \Globals; *new{|bounds| ^super .new(bounds) .init(); } init{ layout = VLayout( GlobalsGui(40, bounds: 490@100).parent.view ); } }
-
+ SCCompositeView { // shouldnt really do this to an h or v layout resizeToFit { var r; r = Rect(0,0,0,0); this.children.do({ |kid| r = r.union(kid.bounds) }); this.bounds = r; } }
-
... ar <tabLabel = \Environment; *new{|bounds| ^super .new(bounds) .init(); } init{ layout = VLayout( EnvirGui(currentEnvironment, 42, bounds: 490@100).parent.view ); } }
-
+ SCCompositeView { // shouldnt really do this to an h or v layout resizeToFit { var r; r = Rect(0, 0, 0, 0); this.children.do({ |kid| r = r.union(kid.bounds) }); this.bounds = r; } }
-
... olor.post; " is my favorite color !".postln; "".postln; }); // Nest it inside a Layout win.layout_( HLayout( colorPicker, ).margins_(0)); win.front; // Useful when developping CmdPeriod.doOnce({ win.close; }); ) ⧉ ✔ helpfile source: /tmp/sc ...
-
... ng and grouping widgets in a window. See also: SCTopView , SCCompositeView , SCHLayoutView , SCVLayoutView , SCScrollView SCScrollTopView Some Important Issues Regarding SCContainerView Container views are meant for placing and grouping chi ...