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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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?