Thursday, February 20, 2014

Re: GWT Wrapper for Twitter Bootstrap v3!

I start developing from the simple basic gwt. And so far, I can do it without UiBinder. I have to re-do a lot of work, if I modify it. Is that deserve?


On Tuesday, February 18, 2014 3:43 AM, Joshua Godi <joshuagodi@gmail.com> wrote:
Just have to use the setters that are there for non-UiBinder.

        // Create overall container
        FluidContainer container = new FluidContainer();
        
        // Create the row for the columns
        Row row = new Row();
        
        // Create the columns
        Column first = new Column(ColumnSize.XS_6);
        Column second = new Column(ColumnSize.XS_6);
        
        first.add(new Span("I am the first column"));
        second.add(new Span("I am the second column"));
        
        row.add(first);
        row.add(second);
        container.add(row);

Curious though, why not use UiBinder? It provides a more declarative UI.
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


No comments:

Post a Comment