-
... w().fixedHeight_(24) .background_(Color.gray(0.6)) // debugging ; view.layout = HLayout( deleteButton = Button().states_([["X", Color.white, Color.red(0.4)]]) .fixedSize_(Size(16, 16)), nameView = StaticText().string_(name).fixedWidth_(120) ...
-
... tion); children.do({|i,k| this.panes[k].layout_(i.isKindOf(Layout).if( { i }, { HLayout(i).spacing_(0).margins_(0) }))})} asView { ^(view ?? container) } horizontal { var pv = container, hw = handle_size, hwl = handle_line_size, vw = (pv.bo ...
-
... organizes views in a grid Source: QLayout.sc Subclasses: QGridLayout See also: HLayout , VLayout , StackLayout , Layout Management Description GridLayout distributes its space into a grid of rows and columns , where each item can occupy on ...
-
... = false k.canFocus = true ⧉ ✔ Compare Mouse Modes ( var view = View().layout_( HLayout( VLayout(Knob().mode_(\round), StaticText().string_("round")), VLayout(Knob().mode_(\vert), StaticText().string_("vert")), VLayout(Knob().mode_(\horiz), ...
-
... ction to time-varying value. ( a = Slider(); b = Slider(); w = Window().layout_(HLayout(a,b)).front; ) ( ENdef(\x).clear; ENdef(\x, { //first slider as signal var aES = a.enInSig; var bES = b.enIn; (aES |+| bES) .enDebug("val"); }).start ) ...
-
... d = Color(0.45490196078431, 0.55686274509804, 0.87843137254902); headerLayout = HLayout(); headerLayout.margins = [5, 10, 20, 10]; headerView.layout = headerLayout; mainLayout.add(headerView); dragBothPanel = DragBoth(); dragBothPanel.maxWi ...
-
... ", Rect(200, 300, 400, 30 * module.numCells + 100)); var l = VLayout(); var h = HLayout(l); var xsl = Set[], ysl = Set[]; var sliders, twod; var update = { |index, val| sliders[index].value = val; module.theta[index] = val * 2 - 1; module.t ...
-
... ground = Color.red(1, 0.2); }; browser = View(bounds: 900@700).layout_(VLayout( HLayout( prev, reloadStop, next, urlBox, go ), webview )); browser.front; urlBox.valueAction = "http://supercollider.github.io/" ) ⧉ ✔ helpfile source: /usr/loc ...
-
... ; w = Window("orbital volume", Rect(240, 240, 300, 500)).front; w.view.layout = HLayout(*~dirt.orbits.collect { |x| var val = spec.unmap(x.get(\amp).ampdb); Slider().value_(val).action_({ |v| x.set(\amp, spec.map(v.value).dbamp.postln) }) } ...
-
... ze the window: ( w = Window.new(bounds:Rect(100,100,300,80)).layout_( VLayout ( HLayout( Button().states_([["Super"]]), TextField().string_("Collider") ), Button().states_([["SuperCollider"]]) ) ).front; ) ⧉ ✔ See the Layout Management guid ...