Re: How to override gwt styles in uibinder?

2013-05-24 Thread Thomas Broyer
On Friday, May 24, 2013 3:52:54 AM UTC+2, V.B. wrote: Hi Thomas, In your post above you mention @external .gwt-*;. You also use the same trick in thishttp://stackoverflow.com/questions/8182917/how-to-override-default-css-in-modern-gwt-applications StackOverflow question. But, I

Re: How to override gwt styles in uibinder?

2013-05-23 Thread V.B.
Hi Thomas, In your post above you mention @external .gwt-*;. You also use the same trick in thishttp://stackoverflow.com/questions/8182917/how-to-override-default-css-in-modern-gwt-applications StackOverflow question. But, I have never been able to make that work. Instead I have to have

How to override gwt styles in uibinder?

2013-02-26 Thread membersound
I want to override button gwt styles directly in uibinder. But why does the following not work? g:ToggleButton styleName={style.toggle} / ui:style .toggle-down, .toggle-down-hovering { background: red !important; background-color: red!important; } /ui:style -- You received this message

Re: How to override gwt styles in uibinder?

2013-02-26 Thread Thomas Broyer
CssResources does not know about the primary style names and dependent style names concepts of widgets, so .toggle-down with be obfuscated to something that does not end in -down, which the ToggleButton is using. You have to either: - find a unique name for the CSS class, and disable

Re: How to override gwt styles in uibinder?

2013-02-26 Thread Kody
Ok having some @externals within ui:style is probably best here, and works as expected. 2013/2/26 Thomas Broyer t.bro...@gmail.com CssResources does not know about the primary style names and dependent style names concepts of widgets, so .toggle-down with be obfuscated to something that does