-
... "Open startup_files dir"]]) .action_({ this.filesDir.openOS }) ); w.layout.add( StaticText(w).align_('center').maxSize_(Size(400, 60)) .string_("Click to select, shift-click to edit, Alt-Click to reboot:") ); w.layout.add( GridLayout.column ...
-
... s, labelStringColors, tabView0, tabView1, flow0, flow1; var thisFocus, tmp; var staticTextFont = Font(Font.available("Arial") ? Font.defaultSansFace, 10); var staticTextColor = Color(0.2, 0.2, 0.2); if(focus.isNil, { thisFocus = 0 }, { this ...
-
... -4); keys.do { |key| var possibleValues = choices[key], slider; allViews[key] = StaticText(comp, Rect(0,0, labelWidth, height)) .background_(Color.grey(0.9)) .font_(font) .align_(\center) .string_(" " ++ key); if(key == \synthDef) {allViews ...
-
... color= Color.new(0.63915638923645, 0.61455166339874, 0.3189784526825); stext= StaticText(win, Rect(30, 900, 250, 20)).background_(bcolor); ttext = StaticText(win, Rect(280, 900, 250, 20)).background_(bcolor); ftext = StaticText(win, R ...
-
... or .rand) .resize_(i); y.decorator = FlowLayout (y.bounds).gap_(0.0 @ 0.0); t = StaticText (y, Rect (0, 0, 40, 40)) .background_( Color .rand.alpha_(0.8)) .resize_(i) .string_(i) .font_( Font ( "Helvetica" , 26)); p= PopUpMenu (y,40@40).ite ...
-
... is is the simplest example about view composition: a Slider , a TextField and a StaticText . Not much to say here, the code mostly speaks for itself. The only thing to remember is to have the Slider and the TextField update each other accor ...
-
... runtask }, { this.stopruntask }) }) .font_(font) .resize_(3) .canFocus_(false); StaticText(window, Rect(545, 42, paramW, 16)) .font_(font) .resize_(3) .string_("BusIn"); NumberBox(window, Rect(545, 60, paramW, 16)) .font_(font) .resize_(3) ...
-
... false; //--menus pw= win.bounds.width*0.125; po= win.bounds.width-((pw+2)*3.5); StaticText(win, Rect(po, 1, pw, 20)).align_(\center).string_("Theme"); StaticText(win, Rect((pw+2)+po, 1, pw, 20)).align_(\center).string_("Smooth"); StaticText ...
-
... e following example shows a window containing a Button, a Slider and a group of StaticText views contained in a CompositeView. When the button is clicked the visibility of the CompositeView is toggled, while interacting with the Slider will ...
-
... ; views[ cat ].button.background = nil; views[ cat ].addFlowLayout( 0@0, 4@4 ); StaticText( views[ cat ], (bounds.width - (18 + scrollerMargin + 6))@18 ) .string_( " " ++ cat.asString ) .applySkin( RoundView.skin ? () ); udefs.do({ |udef| v ...