¤ matrixP'

Types

matrixP' :: Int -> LayoutDir -> Int -> Placer

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.

data LayoutDir = Horizontal | Vertical

Arguments

count :: Int
Number of rows or colums.
direction :: LayoutDir
Selects rowwise or colmnwise order.
dist :: Int
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.