Clamp
class Clamp(val adwClampPointer: <Error class: unknown class><<Error class: unknown class>>)(source)
A widget constraining its child to a given size.
 
 
The AdwClamp widget constrains the size of the widget it contains to a given maximum size. It will constrain the width if it is horizontal, or the height if it is vertical. The expansion of the child from its minimum to its maximum size is eased out for a smooth transition.
If the child requires more than the requested maximum size, it will be allocated the minimum size it can fit in instead.
AdwClamp can scale with the text scale factor, use the property@ClampLayout:unit property to enable that behavior.
CSS nodes
AdwClamp has a single CSS node with name clamp.
Constructors
Properties
Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  The maximum size allocated to the child.
Link copied to clipboard
                  The size above which the child is clamped.
Link copied to clipboard
                  The length unit for maximum size and tightening threshold.