ยค matrixP', LayoutDir

Placers: matrixes and tables

Types

matrixP' :: Int -> LayoutDir -> Distance -> Placer
data LayoutDir = Horizontal | Vertical
instance Eq LayoutDir
instance Ord LayoutDir
instance Show LayoutDir

Synopsis

matrixP' count direction dist

Description

matrixP' organizes boxes into a matrix, like matrixP, but with more control. The elements in a matrix all have the same size.

Arguments

count :: Int
Number of rows or colums.
direction :: LayoutDir
Selects rowwise or colmnwise order.
dist :: Distance
The distance between the fudgets.

Example

 placerF (matrixP' 2 Vertical 5) (listF [(n,buttonF (show n)) | n<-[1..3]])

See Also

Other placers: matrixP, horizontalP et al, tableP.

Related combinators: placerF, listLF.

Dynamic Layout.