Re: MultiLineLabel and alot of P

2009-06-04 Thread Daniele
Erik van Oosten ha scritto: Hi Daniele, Probably the best action is to look at the source of MultiLineLable, copy it to your own sources and adapt it at will. This approach has 2 advantages: 1) it keeps the wicket library small and focused, 2) you can code it exactly the way you want.

MultiLineLabel and alot of P

2009-06-03 Thread Daniele
Hi. I tried to use MultiLineLabel but I think it need a new option... Using MultiLineLabel the text is wrapped by p tag, so with only one line of text the space occupied (used in td) is alot. I think it should be an option to set for not wrap the text with p , except when there is 2 or more

Re: MultiLineLabel and alot of P

2009-06-03 Thread Erik van Oosten
Hi Daniele, Probably the best action is to look at the source of MultiLineLable, copy it to your own sources and adapt it at will. This approach has 2 advantages: 1) it keeps the wicket library small and focused, 2) you can code it exactly the way you want. Regards, Erik. Daniele

Re: MultiLineLabel and alot of P

2009-06-03 Thread Jeremy Thomerson
Use CSS to change the margin on P tags. I do this on just about every site I build. I find the default to generally be too much. -- Jeremy Thomerson http://www.wickettraining.com On Wed, Jun 3, 2009 at 9:01 AM, Daniele sdaniel...@tiscalinet.it wrote: Hi. I tried to use MultiLineLabel but