On Mon, Oct 19, 2009 at 4:54 AM, Thomas Broyer <[email protected]> wrote:
>
>
>
> The "problem" is that your designer won't use <ui:mph> or GWT widgets,
> and it probably won't use CssResource specific syntax helpers (@def,
> @if user.agent ie6 { }, etc.) so you'll have to copy/paste/adapt, and
> rinse/repeat when the designer has/wants to change something. Ideally
> (imo), the designer will start by making a "pure HTML" mockup and then
> transform it into an *.ui.xml, and only then the programmer enters
> into play (eventually tweaking the ui.xml to add ui:field and the
> like; ideally in coordination with the designer)
>
Right.... I suppose that is the best solution for now. UIBinder is
GWT2.0 only, correct? I havn't made the change yet, I am still using 1.7.
Last night I did some design work using normal design tools
(Fireworks,Photoshop etc), and as long as you are good about labeling the
items so the CSS exports correctly (with readable/usable names). It is
possible to get fairly GWT-friendly CSS. Then I just have to create my
basic controls in GWT and give them the same label names for styles and
everything seems to work. One thing that helped alot was following this
trick:
http://blog.sudhirj.com/2009/05/vertical-and-horizontal-flow-panels-in.html
That gives you div-only based horizontal/vertical flow panels. It always
confused me as to why I kept losing styles when I would implement
HorizontalPanels or VerticalPanels. I guess that is just one of those
situations where you need some old-school CSS/HTML knowledge. Cause while
GWT lowers the bar so application-centric developers (like myself) can get
involved, it doesn't COMPLETELY hide us from needing that basic CSS
information. Sometimes I forget that! :)
Anyway, thanks for the help. I look forward to digging into UIBinder when
2.0 is released.
-pj
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---