Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

ColumnText component

Henrik Paul
1 decade ago Feb 16, 2010 7:19pm

This time, I've concocted a widget that I've wanted to do for the longest time, but somehow always left it for later.

ColumnText is a widget that simply splits long passages of text into several columns. This way, you can utilize all the width you have on the screen, but maintain readability with short lines of text. In addition to text, the widget handles CSS-stylized XHTML content (which was unnecessarily hard to accomplish, to tell you the truth).

I have made the component as an example of two useful GWT2-features serving dedicated resources to different browsers: deferred binding and conditional CSS. A turn-by-turn guide of the choices I have made with the source code is being written into http://wolfie.github.com/2010/02/21/graceful-gwt-degradation.html, hopefully helping anyone interested in this feature to provide optimized widgetsets to each and everyone.

Anyways, a live demo is at http://henrik.virtuallypreinstalled.com/ColumnText, sources are available at http://github.com/wolfie/ColumnText (under Apache 2.0, naturally). Both .jar and example application are also available.

Last updated on Feb, 21st 2010
Jouni Koivuviita
1 decade ago Feb 17, 2010 1:53pm
Henrik Paul
1 decade ago Feb 18, 2010 6:42am
Marc Englund
1 decade ago Feb 18, 2010 7:25am
Henrik Paul
1 decade ago Feb 18, 2010 7:40am
Henrik Paul
1 decade ago Feb 21, 2010 6:13pm
Joonas Lehtinen
1 decade ago Feb 21, 2010 6:49pm
Jouni Koivuviita
1 decade ago Feb 21, 2010 7:08pm
Joonas Lehtinen
1 decade ago Feb 21, 2010 8:18pm
Henrik Paul
1 decade ago Feb 21, 2010 8:39pm
Henrik Paul
1 decade ago Feb 21, 2010 8:43pm
Henrik Paul
1 decade ago Feb 21, 2010 8:44pm
Henrik Paul
1 decade ago Feb 21, 2010 11:17pm
Charles Anthony
1 decade ago Feb 22, 2010 10:26am
Henrik Paul
1 decade ago Feb 22, 2010 11:34am