Discussion: Column Widgets (was: How to add a splitter to adjust the left column width by dragging it?)

2009-12-23 Thread Adrian Crum
The current code to render multiple columns seems to be more complicated than it should be. As this thread has discussed, adding features to multiple-column layout can be problematic. So, the suggestion is to introduce column widgets. I'll start off with some basic ideas, and everyone is

Re: Discussion: Column Widgets (was: How to add a splitter to adjust the left column width by dragging it?)

2009-12-23 Thread Bruno Busco
I think it would fulfill the needs I can see right now. Thank you Adrian. 2009/12/23 Adrian Crum adri...@hlmksw.com: The current code to render multiple columns seems to be more complicated than it should be. As this thread has discussed, adding features to multiple-column layout can be

Re: Discussion: Column Widgets (was: How to add a splitter to adjust the left column width by dragging it?)

2009-12-23 Thread Jacques Le Roux
Looks like a plan, yes! Jacques From: Bruno Busco bruno.bu...@gmail.com I think it would fulfill the needs I can see right now. Thank you Adrian. 2009/12/23 Adrian Crum adri...@hlmksw.com: The current code to render multiple columns seems to be more complicated than it should be. As this

How to add a splitter to adjust the left column width by dragging it?

2009-12-22 Thread Bruno Busco
I was looking for a way to implement a splitter that would allow the user to adjust the width of the left column in multicolumn screens (i.e. in the catalog application). In OFBiz there are already several js library. Is somebody aware of a simple method to do this? I have briefly looked into the

Re: How to add a splitter to adjust the left column width by dragging it?

2009-12-22 Thread Adrian Crum
Something similar that would be nice to have is a generic collapsible column implementation - where clicking on a link or control reduces the column to a small icon. Clicking on the icon expands the column back. This could be used for vertical menus. Maybe it is time to consider a column

Re: How to add a splitter to adjust the left column width by dragging it?

2009-12-22 Thread Bruno Busco
Unfortunately, one of the problem I had was that, to collapse horizzontally, is not so simple because adiacent divs should be also adjusted. For example, to use this to collapse the left-column, even the main-content div width (or margin-left) should be changed. This was one of the reason I

Re: How to add a splitter to adjust the left column width by dragging it?

2009-12-22 Thread Bruno Busco
Adrian, what you say reminds me the very first way I thought to achieve what I described (but I stopped and forgot!! :-( ) I thought that a collapsible screenlet (we already have) could have another attribute to be collapsed horizzontaly or vertically. One of the two is what we have right know.

Re: How to add a splitter to adjust the left column width by dragging it?

2009-12-22 Thread Adrian Crum
That's why we need column widgets - so the other columns will know to resize themselves. -Adrian Bruno Busco wrote: Unfortunately, one of the problem I had was that, to collapse horizzontally, is not so simple because adiacent divs should be also adjusted. For example, to use this to collapse

Re: How to add a splitter to adjust the left column width by dragging it?

2009-12-22 Thread Bruno Busco
I would like to help on the column widget implementation. Could you start with some writing about it so that I can get a clear idea? -Bruno 2009/12/22 Adrian Crum adri...@hlmksw.com: That's why we need column widgets - so the other columns will know to resize themselves. -Adrian Bruno