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 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…