@@ -0,0 +1,706 @@
+package com.itmill.toolkit.tests.tickets;%0A%0Aimport com.itmill.toolkit.Application;%0Aimport com.itmill.toolkit.ui.OrderedLayout;%0Aimport com.itmill.toolkit.ui.TextField;%0Aimport com.itmill.toolkit.ui.Window;%0A%0Apublic class Ticket2235 extends Application %7B%0A%0A    public void init() %7B%0A        Window w = new Window(getClass().getSimpleName());%0A        setMainWindow(w);%0A        // setTheme(%22tests-tickets%22);%0A        createUI((OrderedLayout) w.getLayout());%0A    %7D%0A%0A    private void createUI(OrderedLayout layout) %7B%0A        layout.setSizeFull();%0A%0A        TextField tf = new TextField();%0A        tf.setCaption(%22A text field%22);%0A        tf.setSizeFull();%0A        tf.setRows(2);%0A%0A        layout.addComponent(tf);%0A    %7D%0A%7D%0A

Test case for #2235