GridPanel

trait GridPanel extends Panel

A panel that arranges its contents in rectangular grid of rows and columns. Note that components run from left to right, top to bottom.

A panel that arranges its contents in rectangular grid of rows and columns. Note that components run from left to right, top to bottom.

Companion
object
trait Panel
trait Component
trait Widget
trait Control
trait Lazy
trait Product
trait Equals
class Object
trait Matchable
class Any

Type members

Types

type C = Component
type Repr[T <: Txn[T]] = T[T, C] & IControl[T]

Value members

Inherited methods

def canEqual(that: Any): Boolean
Inherited from
Equals
def contents: Seq[Widget]
Inherited from
Panel
def productArity: Int
Inherited from
Product
def productElement(n: Int): Any
Inherited from
Product
def productElementName(n: Int): String
Inherited from
Product
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
def productPrefix: String
Inherited from
Product
final def token: AnyRef
Inherited from
Control

Abstract fields

var columns: Ex[Int]

Number of columns or zero for automatic determination.

Number of columns or zero for automatic determination.

var compact: Ex[Boolean]

true to make the grid compact both horizontally and vertically.

true to make the grid compact both horizontally and vertically.

var compactColumns: Ex[Boolean]

true to make the grid horizontally compact.

true to make the grid horizontally compact.

var compactRows: Ex[Boolean]

true to make the grid vertically compact.

true to make the grid vertically compact.

var hGap: Ex[Int]

Horizontal gap between components. The default value is 4.

Horizontal gap between components. The default value is 4.

var rows: Ex[Int]

Number of rows or zero for automatic determination.

Number of rows or zero for automatic determination.

var vGap: Ex[Int]

Vertical gap between components. The default value is 2.

Vertical gap between components. The default value is 2.

Inherited fields

var border: Ex[Border]
Inherited from
Panel
var enabled: Ex[Boolean]
Inherited from
Component
var focusable: Ex[Boolean]
Inherited from
Component
@transient
final protected val ref: Object
Inherited from
Lazy
var tooltip: Ex[String]
Inherited from
Component