-
FlowLayout a view decorator which autowraps the view contents Inherits from: Object FlowLayout is a decorator which automatically arranges views inside a container view in a row, and starts a new row if there is not enough space left for th ...
-
... iteView inherits all of its methods from SCContainerView . See also: FlowView , FlowLayout Some Important Issues Regarding SCCompositeView SCCompositeView is used for grouping widgets in a window. While it accepts key actions, it does not a ...
-
... automatic layout management for a container. Currently the only one existing is FlowLayout . (note: Crucial Library also has a useful layout tool called GridLayout .) addFlowLayout(margin, gap) A convenience utility which sets decorator to ...
-
... ct (150, SCWindow .screenBounds.height-500, 400,400)).front; w.view.decorator = FlowLayout ( w.view.bounds); SCStaticText .new(w, Rect (5,0,30,20)).string_( "Font" ).align_( \rght ); m= SCPopUpMenu (w, Rect (40,0,250,20)); m.items = Font .a ...
-
... ds occupied by the subviews of view. ( w= Window .new.front; w.view.decorator = FlowLayout (w.view.bounds); g = EZPopUpMenu .new(w, 230@22, "A PopUpMenu: " , [ \item0 ->{ |a| ( "this is item 0 of " ++ a).postln}, \item1 ->{ |a| ( "this is i ...
-
... oints ( w = Window ( "Slider2D" , Rect (100,100, 500 ,300)); w.view.decorator = FlowLayout (w.view.bounds); t = Slider2D (w, Rect (20, 20,280, 280)) .x_(0.5) // initial location of x .y_(1) // initial location of y .background_( Color .rand ...
-
... ner view, but there is no direct setter. One should not use a decorator such as FlowLayout directly on a SCScrollView, only on a container view within it. Action Functions with Scrolling SCViews A SCScrollTopView or SCScrollView's action fu ...
-
... ( w = Window ( "TabletSlider2D" , Rect (100,100, 500 ,300)); w.view.decorator = FlowLayout (w.view.bounds); t = TabletSlider2D (w, Rect (20, 20,280, 280)) .x_(0.5) // initial location of x .y_(1) // initial location of y .knobColor_( Color ...
-
... erView , SCImage , SCModalWindow , SCModalSheet SCVLayoutView , SCHLayoutView , FlowLayout Some Important Issues Regarding SCWindow If you try to set parameters of a Window or a GUI widget from a Routine , which uses the SystemClock by defa ...
-
... w = Window ( "my name is..." , Rect ( 128, 64, 340, 360 )); w.view.decorator = FlowLayout ( w.view.bounds ); // comment this out for no decorator // w.addFlowLayout // you can use this instead of the above line for brevity. w.view.backgrou ...