/** * Instantiates a welcome layout. */ public WelcomeLayout() { super(i18n.welcomeText()); this.scClassName = "VLayout"; SpacerItem spacerItem = new SpacerItem(); spacerItem.setHeight(20); this.welcomeText = new StaticTextItem("welcomeText"); this.welcomeText.setShowTitle(false); this.welcomeText.setValue(""); this.roleText = new StaticTextItem("roleText"); this.roleText.setShowTitle(false); this.roleText.setValue(""); this.form.setFields(this.headerItem, spacerItem, spacerItem, this.welcomeText, spacerItem, this.roleText); // add to mainLayout addMember(this.form); }
spacerItem.setHeight(20);
spacerItem.setHeight(20);
spacerItem.setHeight(20);
spacerItem.setHeight(20);