@@ -0,0 +1,937 @@
+package com.itmill.toolkit.tests.tickets;%0A%0Aimport com.itmill.toolkit.Application;%0Aimport com.itmill.toolkit.ui.Button;%0Aimport com.itmill.toolkit.ui.ExpandLayout;%0Aimport com.itmill.toolkit.ui.Label;%0Aimport com.itmill.toolkit.ui.Window;%0A%0Apublic class Ticket1934 extends Application %7B%0A%0A    public void init() %7B%0A        Window w = new Window(%0A                %22#1934 : Horizontal ExpandLayout completely broken%22);%0A        setMainWindow(w);%0A        w.addComponent(new Label(%0A                %22Horizontal 500x200 ExpandLayout with two components:%22));%0A%0A        ExpandLayout testedLayout = new ExpandLayout(%0A                ExpandLayout.ORIENTATION_HORIZONTAL);%0A        testedLayout.setWidth(500);%0A        testedLayout.setHeight(200);%0A%0A        Button b1 = new Button(%22b1%22);%0A        testedLayout.addComponent(b1);%0A        testedLayout.expand(b1);%0A        testedLayout.addComponent(new Button(%22b2%22));%0A%0A        w.addComponent(testedLayout);%0A    %7D%0A%0A%7D%0A

Test for #1934 : Horizontal ExpandLayout completely broken