List of usage examples for com.vaadin.ui ComponentContainer setWidthUndefined
public void setWidthUndefined();
From source file:com.esofthead.mycollab.mobile.ui.AbstractPreviewItemComp.java
License:Open Source License
public AbstractPreviewItemComp() { previewForm = initPreviewForm();// www . ja v a2 s .co 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); } }