List of usage examples for com.vaadin.ui ComponentContainer setHeight
public void setHeight(String height);
From source file:com.esofthead.mycollab.mobile.ui.AbstractPreviewItemComp.java
License:Open Source License
public AbstractPreviewItemComp() { previewForm = initPreviewForm();//ww w . j ava2 s . c o m previewForm.setStyleName("readview-layout"); this.setContent(previewForm); editBtn = new NavigationBarQuickMenu(); editBtn.setButtonCaption(null); editBtn.setStyleName("edit-btn"); editBtn.setContent(createButtonControls()); this.setRightComponent(editBtn); initRelatedComponents(); ComponentContainer toolbarContent = createBottomPanel(); if (toolbarContent != null) { toolbarContent.addStyleName("related-items"); toolbarContent.setHeight("100%"); toolbarContent.setWidthUndefined(); MobileViewToolbar toolbar = new MobileViewToolbar(); toolbar.setComponent(toolbarContent); this.setToolbar(toolbar); } }