-
... line, then, is a View() (with appropriate size hints). Apply a layout (probably HLayout), add the operating views into that layout -- and then insert this parent view into the ScrollView's canvas layout. Scrolling behavior is as expected ...
-
... }) .value_(d.playFreq); // mode - sines or envelope guiData.modeViews = HLayout( // mode popup ListView().minWidth_(96).maxWidth_(96).minHeight_(30).maxHeight_(30) .items_(["Mode: Sines", "Mode: Envelope"]) .stringColor_ ...
-
... 50)).front; window.background_(Color.gray(0.2)); window.layout = VLayout( HLayout( nil, deviceMenu = PopUpMenu(), startB = Button(), // stopB = Button(), nil ), View().fixedHeight_(60) .layout_(HLayout( nil, ...
-
... /galton-board-sim/6202 ( var win = Window(); var display = UserView().layout_(HLayout().margins_(30)); var availableNotes = [58, 60, 61, 63, 65, 66, 68, 70].midicps; var timesNotesWerePlayed = Array.fill(availableNotes.size, { 0 }); ...
-
... 3) ++ chordview.minSize_(100@100) ++ ({ Button(window) } ! 3); window.layout = HLayout(*a); )
-
... ck ); color_picker_view.layout_( VLayout( [ helper, stretch:1 ], [ HLayout( [ h_slider, stretch: 1 ], [ sv_slider, stretch: 2 ] ), stretch:2 ] ); ); color_picker_view.addUniqueMethod( \bindFunction, { | o ...
-
... zoomView, \lowBar]; gui[\basicView] = { View().background_(Color.gray).layout_(HLayout()) }; gui[\views].do({ |view| gui[view] = gui[\basicView].value }); [\a, \b].do({ |ab| [\Top, \Mid, \Low].do({ |tier| gui[(ab++tier).asSymbol ...
-
... 0); indicator.meterColor = Color.black; // Layout of the window layout = HLayout(); layout.add(nil); layout.add(VLayout(indicator)); layout.add(VLayout(StaticText().string_("0.0dB"), nil, StaticText().string_((maxReduc/2.0).asS ...
-
... border: true); mWin.background = Color.blue(0.3,1); mWin.layout = HLayout( VLayout( StaticText().string_("Cavern_1"), Button() .states_([ ["OFF", Color.gray(0.2), Color.green(0.8)], [" ...
-
... = VLayout( uv = UserView(), View().maxHeight_(60).layout_( VLayout( HLayout( indexLNum = NumberBox().fixedWidth_(80), // .fixedSize_(Size(80, 20)), indexRNum = NumberBox().fixedWidth_(80), // .fixedSize_(Size(80, 20)), ...