matrixP' :: Int -> LayoutDir -> Int -> Placer
matrixP' count direction dist
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
count :: Int
direction :: LayoutDir
dist :: Int
placerF (matrixP' 2 Vertical 5) (listF [(n,buttonF (show n)) | n<-[1..3]])
Related combinators: placerF, listLF.
Dynamic Layout.