List of usage examples for com.google.gwt.user.client.ui DockPanel setCellHorizontalAlignment
@Override public void setCellHorizontalAlignment(Widget w, HorizontalAlignmentConstant align)
From source file:org.thechiselgroup.biomixer.client.core.visualization.CenterRightViewTopBarExtension.java
License:Apache License
@Override protected void addWidgetToTopBar(Widget realWidget, DockPanel topBar) { topBar.add(realWidget, DockPanel.CENTER); topBar.setCellHorizontalAlignment(realWidget, HasAlignment.ALIGN_RIGHT); topBar.setCellWidth(realWidget, "100%"); // eats up all }
From source file:org.thechiselgroup.biomixer.client.core.visualization.LeftViewTopBarExtension.java
License:Apache License
@Override protected void addWidgetToTopBar(Widget realWidget, DockPanel topBar) { topBar.add(realWidget, DockPanel.WEST); topBar.setCellHorizontalAlignment(realWidget, HasAlignment.ALIGN_LEFT); }