List of usage examples for com.google.gwt.user.client.ui SplitLayoutPanel SplitLayoutPanel
public SplitLayoutPanel(int splitterSize)
From source file:org.uberfire.client.workbench.panels.impl.SplitLayoutPanelView.java
License:Apache License
public SplitLayoutPanelView() { layout = new SplitLayoutPanel(2); centerPanel = new LayoutPanel(); westPanel = new LayoutPanel(); // TODO (hbraun): the actual width should become meta data. i.e. passed through the position object layout.addWest(westPanel, 217);//from w ww .ja v a 2s .c o m layout.add(centerPanel); }
From source file:org.zanata.webtrans.client.view.TranslationView.java
License:Open Source License
@Inject public TranslationView(TranslationEditorDisplay translationEditorView, TranslationMemoryDisplay transMemoryView, GlossaryDisplay glossaryView) {/*from w w w. j a va 2 s . c om*/ this.transMemoryView = transMemoryView; this.glossaryView = glossaryView; resizeButton = translationEditorView.getResizeButton(); mainSplitPanel = new SplitLayoutPanel(2); tmGlossaryPanel = new SplitLayoutPanel(2); this.translationEditorView = translationEditorView.asWidget(); initWidget(uiBinder.createAndBindUi(this)); mainSplitPanel.setWidgetMinSize(tmGlossaryPanel, (int) MIN_SOUTH_PANEL_HEIGHT); setGlossaryView(); setTranslationMemoryView(); }