I have the following problem:
I added a GIF image to a ContentPanel to symbolize the loading of the response from tomcat server that I sent the request via a button.
The first time I send the request, the GIF image is decentralized, but the second time then it centralizes perfectly. This is the code:
ContentPanel is initialized with the previously FitLayout.
LayoutContainer c = new LayoutContainer();
VBoxLayout layout = new VBoxLayout();
Image test = new Image(Utils.URL_LOADING);
You should post a fully working testcase that implements EntryPoint. There is probably an issue in the layoutchain.