Hi Dan,

On Wed, May 27, 2009 at 5:28 PM, Dan Miron <[email protected]> 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.

Guillaume


> Tnx.
> Dan
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
>



-- 
Guillaume Lerouge
Product Manager - XWiki
Skype ID : wikibc
http://guillaumelerouge.com/
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to