Search in sources :

Example 1 with MarginData

use of com.sencha.gxt.widget.core.client.container.MarginData in project mvp4g2-examples by mvp4g.

the class StatusView method createView.

public void createView() {
    this.container = new SimpleContainer();
    this.container.getElement().getStyle().setProperty("borderTop", themeDetails.borderColor() + " 1px solid");
    this.label = new Label("loading ...");
    this.label.getElement().getStyle().setProperty("fontSize", "24px");
    this.label.getElement().getStyle().setProperty("fontFamily", themeDetails.panel().font().family());
    this.label.getElement().getStyle().setProperty("color", themeDetails.borderColor());
    this.container.add(this.label, new MarginData(6));
}
Also used : MarginData(com.sencha.gxt.widget.core.client.container.MarginData) Label(com.google.gwt.user.client.ui.Label) SimpleContainer(com.sencha.gxt.widget.core.client.container.SimpleContainer)

Aggregations

Label (com.google.gwt.user.client.ui.Label)1 MarginData (com.sencha.gxt.widget.core.client.container.MarginData)1 SimpleContainer (com.sencha.gxt.widget.core.client.container.SimpleContainer)1