Spacer

@Composable
fun Spacer(size: Int, modifier: SwingModifier = SwingModifier)

Empty space of a fixed size pixels, on both axes alike - a convenience over RigidArea with one size for both.

Parameters

size

the horizontal and vertical size in pixels

modifier

the SwingModifier applied to the underlying component

See also