Skip to content

Commit

Permalink
minor layout change
Browse files Browse the repository at this point in the history
  • Loading branch information
drseb committed Feb 23, 2016
1 parent a010ccd commit dc537a7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions src/hpoweb/HpowebUI.java
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ protected void init(VaadinRequest request) {
setSizeFull();

Container gridContainer = new Container();
gridContainer.setFluid(true);

setContent(gridContainer);

// just a line that disappears on small devices
Expand Down
7 changes: 4 additions & 3 deletions src/hpoweb/uicontent/tabs/hpoclass/HpoClassTabFactory.java
Original file line number Diff line number Diff line change
Expand Up @@ -449,17 +449,18 @@ public void addTermInfoElements(Container gridContainer, IHpClassDataProvider da
* Associated diseases
*/
{
Col col1 = row3.addCol(ColMod.MD_6);
Col col1 = row3.addCol(ColMod.MD_12);
VerticalLayout l6 = getAssociatedDiseasesTab(dataProvider);
col1.addComponent(l6);
col1.addStyleName("v-csslayout-gridelement");
}

Row row4 = gridContainer.addRow();
row4.setWidth("100%");
/*
* Associated genes
*/
{
Col col1 = row3.addCol(ColMod.MD_6);
Col col1 = row4.addCol(ColMod.MD_12);
VerticalLayout l7 = getAssociatedGenesTab(dataProvider);
col1.addComponent(l7);
col1.addStyleName("v-csslayout-gridelement");
Expand Down

0 comments on commit dc537a7

Please sign in to comment.