[errai-dev] responsive layout
Erik Jan de Wit
edewit at redhat.com
Thu Dec 20 05:14:00 EST 2012
Hi,
So I see the point that Lincoln is makes and I fully agree. My suggestion is only useful for people that want to use the ui-binder. Because in the end all it does is create divs with the right classes and some checks and include the css. There are of course things that are hard to nice with just css and then a component could provide some ease of use, I'm thinking about tables that are responsive.
>
> That would be really useful for people who use GWT UiBinder and/or programmatic layout of widgets. This is definitely something we support, but we're angling toward ErraiUI for our demos and stuff. I think with ErraiUI, special row and column widgets for Bootstrap wouldn't be super-useful.
So then it doesn't make sense to include something like this. I'll now make the cordova demo look a bit nicer on the phone and table by using twitter bootstrap css and ErraiUI.
>
> One thing I definitely did run into with Bootstrap was that it's super-awkward to use their jQuery addons in an ErraiUI project. All of the CSS is reusable, but the logic in the plugin is difficult to include and invoke in a natural way. I ended up recreating the popover plugin code in the Grocery List demo:
>
Couldn't you use JSNI or gwtquery for that? I guess making something like a component for this is then going to be more of a mis direction.
Cheers,
Erik Jan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/errai-dev/attachments/20121220/2cc0f43e/attachment-0001.html
More information about the errai-dev
mailing list