¤ tableP'

Types

tableP' :: Int -> LayoutDir -> Int -> Placer

Synopsis

tableP' count direction dist

Description

tableP' organizes boxes into a table, like matrixP, but with more control.

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 (tableP' 2 Vertical 5) (listF [(n,buttonF (show n)) | n<-[1..3]])

See Also

Other placers: tableP, horizontalP et al, matrixP.

Related combinators: placerF, listLF.

Dynamic Layout.