Hi Dan,
On Wed, May 27, 2009 at 5:28 PM, Dan Miron <dan.miron(a)xwiki.com>
wrote:
Hi,
Regarding the
http://jira.xwiki.org/jira/browse/XWIKI-2963 issue,
this
is how I propose the macro to look like:
{{columnedtext}}
{{column with="40%"}}
My first text
{{/column}}
{{column with="60%"}}
My second text
{{/column}}
{{/columnedtext}}
This way, depending on how many {{column}} blocks it finds, the macro
transformer has a complete overview over the text to be arranged in
columns.
What do you say?
Looks ok to me.
What happens when the total is higher than 100% ? You could also add
the
choice to use a pixel size instead of the percent-based one. Make
sure the
generated layout works in IE6 too ;-)
As for the name, I personally think "column" describes what the
macro does
better than "section" but it's only my pow, let's see what the
majority
agrees upon.
I think you misunderstood. I'm talking about "section" to replace
"columnedtext".
-Vincent