-
... 2" .gui; 2.gui; [1, nil , "tree" ].gui; gui(parent,bounds) parent - a Window, a FlowView CompositeVIew HLayoutView VLayoutView nil (will create a window with a FlowView) bounds - anything that responds to asRect: Nil - the gui will use its ...
-
TestFlowView : ViewTester { test_startRow { var f,g,a,b,c; f = FlowView.new(w); a = Slider(f,Rect(0,0,100,100)); b = Slider(f,Rect(0,0,100,100)); f.startRow; c = Slider(f,Rect(0,0,100,100)); this.assert( a.bounds.left < b.bounds.left,"b sho ...
-
... recommended. However if you do use CollapseButton, you can instantly convert a FlowView into a CollapseView, but you must watch out for the warnings below. NOTE THE DOUBLE LAYER OF FLOW VIEWS! Class Methods . clickModifier default 524288 ( ...
-
// a custom flowview that never changes its width upon resizeToFit FixedWidthFlowView : FlowView { resizeToFitContents { arg thorough, level; // need bounds relative to parent's bounds var new, maxpt, comparept, mybounds, used; mybounds = t ...
-
// a custom flowview that never changes its width upon resizeToFit FixedWidthFlowView : FlowView { resizeToFitContents { arg thorough, level; // need bounds relative to parent's bounds var new, maxpt, comparept, mybounds, used; mybounds = t ...
-
... hru to the view resizeToFit { this.recursiveResize; } // match window bounds to flowview bounds synchWindowBounds { window.bounds = view.bounds.resizeBy(15, 15).moveTo(window.bounds.left, window.bounds.top) } *viewClass { ^FlowView } asFlow ...
-
... hru to the view resizeToFit { this.recursiveResize; } // match window bounds to flowview bounds synchWindowBounds { window.bounds = view.bounds.resizeBy(15, 15).moveTo(window.bounds.left, window.bounds.top) } *viewClass { ^FlowView } asFlow ...
-
... on views in this package Class Methods . new Arguments: layout the parent view, FlowView or window string the string to display bounds nil: automatically determines size based on the string size Integer: a minimum width. if the string is lo ...
-
... all subclasses that have not written an explicit .gui method parent a Window, a FlowView CompositeVIew HLayoutView VLayoutView nil (which will create a Window with a FlowView on it) bounds anything that responds to asRect: Nil - the gui wil ...
-
... . writeName Returns: (returnvalue) . guiBody Arguments: layout the parent view, FlowView or window bounds . guiEvent Arguments: ev layout the parent view, FlowView or window Returns: (returnvalue) . formatMsg Arguments: r msg Returns: (retu ...