withRelativeWidth

open override fun withRelativeWidth(delta: Int): Size

Creates a new Size object representing a size with the same number of height, but with a width size offset by a supplied value. Calling this method with delta 0 will returnThis this, calling it with a positive delta will returnThis a grid size <code>delta</code> number of width wider and for negative numbers shorter.

Sources

(source)
Link copied to clipboard