@@ -0,0 +1,719 @@
+package com.itmill.toolkit.tests.tickets;%0A%0Aimport com.itmill.toolkit.Application;%0Aimport com.itmill.toolkit.ui.Button;%0Aimport com.itmill.toolkit.ui.OrderedLayout;%0Aimport com.itmill.toolkit.ui.TextField;%0Aimport com.itmill.toolkit.ui.Window;%0A%0Apublic class Ticket1902 extends Application %7B%0A%0A    public void init() %7B%0A%0A        OrderedLayout lo = new OrderedLayout();%0A        setMainWindow(new Window(%22Testcase for #1902%22, lo));%0A%0A        lo.setSpacing(false);%0A        lo.setMargin(false);%0A%0A        TextField tf = new TextField(%22100%25 wide textfield%22);%0A        lo.addComponent(tf);%0A        tf.setWidth(%22100%25%22);%0A%0A        Button b = new Button(%22100%25 wide button%22);%0A        lo.addComponent(b);%0A        b.setWidth(%22100%25%22);%0A%0A    %7D%0A%7D

Test for #1902