margin:0;
overflow:hidden;
}
+
.i-app {
background: #e9eced;
font-family: "Trebuchet MS", geneva, helvetica, arial, tahoma, verdana, sans-serif;
height: 100%;
}
+.i-app-loading {
+ background-image: url(img/loading-indicator.gif);
+ background-repeat: no-repeat;
+ background-position: 50%;
+}
+
.i-view {
height: 100%;
width: 100%;
margin:0;
overflow:hidden;
}
+
.i-app {
background: #e9eced;
font-family: "Trebuchet MS", geneva, helvetica, arial, tahoma, verdana, sans-serif;
height: 100%;
}
+.i-app-loading {
+ background-image: url(common/img/loading-indicator.gif);
+ background-repeat: no-repeat;
+ background-position: 50%;
+}
+
.i-view {
height: 100%;
width: 100%;
DOM.setElementProperty(getElement(), "tabIndex", "1");
RootPanel.get(elementId).add(this);
+ RootPanel.get(elementId).removeStyleName("i-app-loading");
// set focus to iview element by default to listen possible keyboard
// shortcuts
.setContentAreaHeight(getElement().getOffsetHeight() - 1);
}
+ @Override
public void onBrowserEvent(Event event) {
super.onBrowserEvent(event);
if (DOM.eventGetType(event) == Event.ONKEYDOWN && actionHandler != null) {
*/
if (resizeTimer == null) {
resizeTimer = new Timer() {
+ @Override
public void run() {
boolean changed = false;
if (IView.this.width != getOffsetWidth()) {
if (reqParam != null) {
style = "style=\"" + reqParam + "\"";
}
- page.write("<div id=\"" + appId + "\" class=\"i-app\" "
+ page.write("<div id=\"" + appId + "\" class=\"i-app i-app-loading\" "
+ (style != null ? style : "") + "></div>\n");
if (!fragment) {