-
... ize(320, 240)).background_(Color.grey(0.9, 0.5)), infoTextElementString.addView(StaticText().fixedHeight_(" ".bounds(fnt).height*2) .align_(\topLeft).background_(Color.grey(0.9, 0.5))) ); win.onClose= { NetAddr.localAddr.sendMsg(\closed, \s ...
-
... Rect( 0, 280, 200, 150 )); w.view.decorator = FlowLayout.new(w.bounds,2@2,2@2); StaticText.new( w, 200@22).string_( "XBee Network").align_( \center).font_( GUI.font.new( "Helvetica Bold", 18) ); dev = EZPopUpMenu.new(w, 164@22, "Device: ", ...
-
... iew.asView.addFlowLayout; inWidth = el.view.asView.bounds.width - 8; el.label = StaticText( el.view, 80 @ rowHeight ) .applySkin( skin ) .string_( inputRouter.outputLabels[i] ); el.meterParent = CompositeView( el.view, (inWidth - 88) @ rowH ...
-
... indow layout window = Window("DAC Tester") .layout_( VLayout( VLayout( HLayout( StaticText().string_("Default Server"), view.startButton, view.rebootButton, view.meterButton, ), HLayout( StaticText().string_("Output Channels"), view.channel ...
-
... y = w.addFlowLayout; bs = { |i| b.(w, i) }!n; lay.nextLine; ks = { |i| StaticText(w, 30@30) .string_(k.findKeyForValue(i)) .align_(\center) }!n; kAct = { |c, v| c = c.asSymbol; (k.includesKey(c) != false).if{ ct ...
-
... | var w = Window("Warning: %".format(title)).front.alwaysOnTop_(true); var tv = StaticText(w, w.view.bounds); tv.background_(Color(1, 0.75)); tv.align_(\center); w.alpha_(0.9); tv.string_(string).font_(Font(Font.defaultMonoFace, 24)); };
-
... = "set" ++ count; }); w = Window("", Rect(loc.x, loc.y + 40, 150, 40), false); StaticText(w, Rect(0,0,70,20)).align_(\center).string_("name set:"); TextField(w, Rect(70,0,70,20)).align_(\center) .string_(name) .action_({ arg field; this.ad ...
-
... | var w = Window("Warning: %".format(title)).front.alwaysOnTop_(true); var tv = StaticText(w, w.view.bounds); tv.background_(Color(1, 0.75)); tv.align_(\center); w.alpha_(0.9); tv.string_(string).font_(Font(Font.defaultMonoFace, 24)); };
-
... q = freqs[i * numLines].round(0.1); if (freq >= 100, { freq = freq.round(1) }); StaticText(comp, Rect(left, top, labelWid - 1, 16)) .background_(Color(0.9,0.9,0.9)) .string_(freq).align_(0) .font_(font); StaticText(comp, Rect(left + (labelW ...
-
... inWidth, winHeight), resizable: false ).front.alwaysOnTop_(true); minutesView = StaticText.new(win); separatorView = StaticText.new(win); secondsView = StaticText.new(win); win.layout = HLayout( // Button.new(win), // Button.new(win), // Bu ...