vaadin / board

Framework 8 version of vaadin-board
Other
8 stars 10 forks source link

How to deal with sizefull? #77

Open amahdy opened 7 years ago

amahdy commented 7 years ago

1.0.0-alpha5

Here is the code:

        CssLayout l1 = new CssLayout();
        l1.addStyleName("red");
        l1.setSizeFull();
        CssLayout l2 = new CssLayout();
        l2.addStyleName("blue");
        l2.setSizeFull();

        Board b = new Board();
        b.addRow(l1, l2).setSizeFull();
        b.setSizeFull();

        setContent(b);

And theme:

  .red {
    background-color: red;
  }

  .blue {
    background-color: blue;
  }

When screen size is small enough, l2 disappears totally.