@@ -0,0 +1,573 @@
+package com.itmill.toolkit.tests.tickets;%0A%0Aimport com.itmill.toolkit.Application;%0Aimport com.itmill.toolkit.ui.RichTextArea;%0Aimport com.itmill.toolkit.ui.Window;%0A%0Apublic class Ticket2323 extends Application %7B%0A%0A    public void init() %7B%0A        Window w = new Window(getClass().getSimpleName());%0A        setMainWindow(w);%0A%0A        Window subWindow = new Window(%22%22);%0A        subWindow.setSizeUndefined();%0A        subWindow.getLayout().setSizeUndefined();%0A        subWindow.center();%0A        subWindow.addComponent(new RichTextArea());%0A        w.addWindow(subWindow);%0A    %7D%0A%0A%7D%0A

Test case for #2323