WelcomeTo
WelcomeTo

Reputation: 20571

Gwt. ClientBundle. Override default css style of widget

I use ClientBundle and CssResource interfaces. All styles, that applies as class are work:

In css: .dialogVPanel { margin: 5px;}

In interface: String dialogVPanel();

But when I try to override default css of gwt widget, it don't work (no errors, but no effect). I try like this:

@external .gwt-DialogBox { width: 60px;}

Upvotes: 0

Views: 1248

Answers (1)

Thomas Broyer
Thomas Broyer

Reputation: 64541

The syntax is:

@external gwt-DialogBox;

.gwt-DialogBox { width: 60px; }

Upvotes: 5

Related Questions