BorderUtils

org.sphix.layout.BorderUtils
trait BorderUtils

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait LayoutUtils
trait FormUtils
trait DialogUtils[A]
class ValueDialog[A]
object FormUtils
trait RegionUtils
Show all

Members list

Value members

Abstract methods

def padding: Int

Concrete methods

def border(node: Node)(using factory: BorderFactory): Region

Creates a border around a node and returns a region. If the node is already a region, the border is set directly on it. The border can be customized by providing a different BorderFactory.

Creates a border around a node and returns a region. If the node is already a region, the border is set directly on it. The border can be customized by providing a different BorderFactory.

Attributes