-
... 1); var views; var selection; w = Window().layout_( VLayout(*{ |j| var line = { StaticText.new } ! ~maxLineSize; views = views.add(line); HLayout(*line.collect { |x| [x, align:\left] }) } ! ~lines.size) ); ~update = { views.do { |line, j| l ...
-
... String(); win= Window(name, winRect); win.layout= VLayout( HLayout( SGUI.shrink(StaticText().string_("device:")), devicePopup= PopUpMenu().items_([]), SGUI.shrink(StaticText().string_("destinations:")), (destinationsButton= SGUIsettings()). ...
-
... composite, (composite.bounds.width - (margin.x * 2))@16 ) .resize_(2); header = StaticText( comp, comp.bounds.moveTo(0,0) ) .applySkin( RoundView.skin ) .string_( " units" ) .align_( \left ) .resize_(2); io = SmoothButton( comp, Rect( comp. ...
-
... new(layout,Rect(0,0,x,y)); this.view.keyDownAction = {nil}; } *viewClass { ^GUI.staticText } label_ { arg string; view.string_(" " ++ string ++ " "); } bold { arg fontSize=11; this.font = GUI.font.new("Helvetica-Bold",fontSize); } color_ { ...
-
... FlowLayout(Rect(0, 0, 300, 25), 2@2, 2@2); decorator = w.view.decorator; w; }; StaticText.new( w, 150@20 ).string_( title ); min = EZNumber.new(w, 60@20, label: "min", controlSpec: [-10000,10000,\lin].asSpec, action: { this.setRange( min.v ...
-
... FlowLayout(Rect(0, 0, 300, 25), 2@2, 2@2); decorator = w.view.decorator; w; }; StaticText.new( w, 150@20 ).string_( title ); min = EZNumber.new(w, 60@20, label: "min", controlSpec: [-10000,10000,\lin].asSpec, action: { this.setRange( min.v ...
-
... A0"); /* outlev[i].numTicks = 11; */ /* outlev[i].numMajorTicks = 3; */ label = StaticText(compView, Rect( 0, 50, width: 30, height: 20)).align_(\center); label.font_(Font(options.font)); label.stringColor_(Color.fromHexString("#A0A0A0")); ...
-
... \n\n" ++ "Repositorio en GitHub:\n" ++ "https://github.com/mesjetiu/SynthiGME"; StaticText(window, Rect(10, 10, 380, 180)) .string_(aboutText) .align_(\center) .font_(Font("Helvetica", 12)) .palette_(QPalette.dark); window.view.palette_(QPa ...
-
... ction.value(this); }); }; mainLayout.add(popupMenuMIDIIns); labelErrorMessage = StaticText(); labelErrorMessage.visible = false; mainLayout.add(labelErrorMessage); } dispose { dependants.remove(this); } getState { var state = Dictionary(); ...
-
... nt, bounds; ^super.new.init( parent, bounds ); } init { |parent, bounds| view = StaticText.new( parent, bounds ); view.setProperty( \wordWrap, false); view.background_( Color.white.alpha_( 0.25 ) ); view.applySkin( RoundView.skin ); view.mo ...