Methods
-
Calculates the actual value of the anchor, given the parent's dimension.
Name Type Description anchornumber anchor as given in layout options
limitnumber parent's dimension
limitSubtractboolean true of right/bottom anchors, false for left/top
-
Calculates the "reach" of a child widget, which is the minimum dimension of the parent required to fully fit the child.
Name Type Description startAnchornumber left or top anchor as given in layout options
endAnchornumber right or bottom anchor as given in layout options
dimennumber measured dimension of the widget (width or height)