Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
176 views
in Technique[技术] by (71.8m points)

uibinder - Override GWT Style?

Here you see my Homepage

Now when the user presses the button in the Java Card the Programm will Screening the Java page. This method is called when the button is pressed.

public void goJava()
{
    RootPanel.get().clear();
    RootPanel.get().add(new Java());
}

This works fine

Now i would to come back to the Homepage when i press on Homepage on the Java page. This method is called:

public void goHomepage()
{
    RootPanel.get().clear();
    RootPanel.get().add(new Homepage());
}

But now here is the Problem. The style is not overridingur.com/XnB5K.png

The footer line is higher than it should be. Homepage got the Java Style from before and not its own.

These two sites are a UIBInder class where i fill the HTMLPanel and set the style at UIStyle

question from:https://stackoverflow.com/questions/66062545/override-gwt-style

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...