GWT Designer - Support to reference CSS from ui.xml as well as CSSResource

76 views
Skip to first unread message

abby

unread,
Oct 5, 2011, 10:37:47 AM10/5/11
to Google Web Toolkit
It seems like GWT designer added an awesome CSS editor, but it looks
like it only references the CSS which are referenced from the HTML
file. It will be nice to actually be able to look at all the styles
currently associated with a widget be it inline inside UIBInder xml or
from a CSSResource.

Is this something which already exists or planned?

Eric Clayberg (Google)

unread,
Oct 5, 2011, 7:23:26 PM10/5/11
to google-we...@googlegroups.com
The CSS editor you refer to has actually be in the tool for a very long time. It was originally designed to support editing of global CSS styles referenced from HTML or from gwt.xml files. In the most recent GPE / GWT Designer release, we added CSS style editing directly in the property pane of the editor. This new CSS editing approach works with both globals styles as well as local styles defined in the current UiBinder XML file. If you would like to see the original CSS editor extended to support local styles, create a new issue in the GWT Issue Tracker.


abby

unread,
Oct 6, 2011, 10:43:04 AM10/6/11
to Google Web Toolkit
Thanks Eric, I think what we have now allows us to manually select a
style by clicking in the textbox, which brings a dropdown where you
can select a style.

1) It probably will be nice that when you click a widget the dropdown
automatically filters the current styles applied, along with an entry
for Add... which allows you to select other styles or add new ones.

2) The CSS button is the most prominent one and it was not even
obvious too me that clicking the textbox actually brings a dropdown of
style. Clicking CSS should still allow you to select all styles, or it
probably should be done away with.

I can open an issue to let others brainstorm this through?


On Oct 5, 7:23 pm, "Eric Clayberg (Google)" <clayb...@google.com>
wrote:
> The CSS editor<http://code.google.com/webtoolkit/tools/gwtdesigner/features/gwt/css_...>you refer to has actually be in the tool for a very long time. It was
> in the GWT Issue Tracker<http://code.google.com/p/google-web-toolkit/issues/list>
> .
>
> <http://1.bp.blogspot.com/-p4Y6uH0k1-o/TmjiP80r_XI/AAAAAAAAADc/gxj3wKc...>
Reply all
Reply to author
Forward
0 new messages