List of usage examples for com.vaadin.ui RichTextArea setSizeFull
public void setSizeFull();
From source file:com.mcparland.john.AdjustableLayout.java
License:Apache License
/** * Create the editor panel.//from ww w.j a v a 2 s . c om * * @return the editor panel. */ private Component createEditorPanel() { SafeHtml safeHtml = SafeHtmlUtils.fromSafeConstant("<b>Help</b> <br />" + LIPSUM); HorizontalSplitPanel editorPanel = new HorizontalSplitPanel(); RichTextArea editor = new RichTextArea(); editor.setSizeFull(); editor.setValue(LIPSUM); editorPanel.setFirstComponent(editor); editorPanel.setSecondComponent(new Label(safeHtml.asString(), ContentMode.HTML)); editorPanel.setSplitPosition(80, Unit.PERCENTAGE); return editorPanel; }