You are not logged in.
Hi there,
I have a defined layout using subLayouts :
codeLayout = spacing 6 $ windowNavigation $ subTabbed $ boringWindows $ ResizableTall 1 (2/100) (1/2) [] ||| noBorders FullAccording to the documentation, subTabbed is a use of subLayout with addTabs to show decorations.
I'm trying to have same behavior but without the tabs but i just fail every time i use subLayout directly (wrong syntax ?).
Is it possible to use subLayout directly ? Or maybe avoid the addTabs decorator ?
Thank you !
Last edited by Johnyjohn (2012-09-25 17:22:29)
Offline
I spent too many hours on this before finding how to use subLayout.
The documentation constructor and example lost me as i don't know/understand haskell :
subLayout :: [Int] -> subl a -> l a -> ModifiedLayout (Sublayout subl) l amyLayout = addTabs shrinkText defaultTheme $ subLayout [0,1,2] (Simplest ||| Tall 1 0.2 0.5 ||| Circle) $ Tall 1 0.2 0.5 ||| FullWhat i want is done by removing modified and sub layouts items :
codeLayout = spacing 6 $ windowNavigation $ boringWindows $ subLayout [0, 1] (Full) $ ResizableTall 1 (2/100) (1/2) []It's know a resizable tiled spaced layout with the possibility to group windows in a sub full layout (like a stack ?).
Hope it can be usefull.
Thank you for everything i found in this forum.
Last edited by Johnyjohn (2012-09-26 06:29:35)
Offline