public abstract static class Constraints.TextConstraint extends Layout.Constraint
TextWidgets which adjusts only the text size of the widget, leaving the remaining dimensions (icon, insets, etc.) unmodified. This is an implementation detail that can be safely ignored unless you are implementing your own custom text constraints.
|Constructor and Description|
|Modifier and Type||Method and Description|
Adds the appropriate text dimensions to the supplied size.
adjustHintX, adjustHintY, adjustPreferredSize, setElement
public abstract void addTextSize(pythagoras.f.Dimension into, pythagoras.f.IDimension lsize)
into- the constrained size will be written into this instance.
lsize- the size of the currently laid out text, may be null.
Copyright © 2019. All rights reserved.