Using GWT 2.4.0 + UiBinder has been a great experience for me.
In the ui.xml file, I made a reference to an external style sheet with the following line.
<ui:style
type="com.codelaboration.twykin.frontend.widgets.qa.client.view.QABox.QAStyle"
src="QABox.css" />
Following that, there is some code in the same ui.xml file.
<div class="{style.imagePanel}">
<div ui:field="lblUser"/>
</div>
I defined the "imagePanel" in QABox.css and utilized CSS inheritance to apply the CSS to all divs within the imagePanel class:
.imagePanel {float: left; width: 100px; text-align: center;}
.imagePanel div {float: right; width: 530px;}
The issue arises when GWT obfuscates the style name, resulting in a change from 'imagePanel' to a strange name, rendering ".imagePanel div" ineffective. So my question is how to effectively use CSS selectors in UiBinder when an external stylesheet has been declared in ui.xml only.
Thank you.