@@ -0,0 +1,1468 @@
+package com.vaadin.tests.components.gridlayout;%0A%0Aimport com.vaadin.server.VaadinRequest;%0Aimport com.vaadin.tests.components.AbstractTestUI;%0Aimport com.vaadin.ui.GridLayout;%0Aimport com.vaadin.ui.HorizontalLayout;%0Aimport com.vaadin.ui.Label;%0Aimport com.vaadin.ui.Panel;%0Aimport com.vaadin.ui.VerticalLayout;%0A%0A/**%0A * Main UI class%0A */%0A@SuppressWarnings(%22serial%22)%0Apublic class GridLayoutWithNonIntegerWidth extends AbstractTestUI %7B%0A%0A    @Override%0A    protected void setup(VaadinRequest request) %7B%0A        Panel p1 = new Panel(%22Panel with GridLayout%22);%0A        GridLayout grid = new GridLayout(1, 1, new Label(%22A%22));%0A        grid.setWidth(100, Unit.PERCENTAGE);%0A        p1.setContent(grid);%0A        p1.setWidth(%22354.390625px%22);%0A%0A        Panel p2 = new Panel(%22Panel with HorizontalLayout%22);%0A        HorizontalLayout hl = new HorizontalLayout(new Label(%22A%22));%0A        hl.setWidth(100, Unit.PERCENTAGE);%0A        p2.setContent(hl);%0A        p2.setWidth(%22354.390625px%22);%0A%0A        setContent(new VerticalLayout(p1, p2));%0A    %7D%0A%0A    /*%0A     * (non-Javadoc)%0A     * %0A     * @see com.vaadin.tests.components.AbstractTestUI#getTestDescription()%0A     */%0A    @Override%0A    protected String getTestDescription() %7B%0A        return %22Neither of the panels should contain scrollbars%22;%0A    %7D%0A%0A    /*%0A     * (non-Javadoc)%0A     * %0A     * @see com.vaadin.tests.components.AbstractTestUI#getTicketNumber()%0A     */%0A    @Override%0A    protected Integer getTicketNumber() %7B%0A        return 11775;%0A    %7D%0A%7D

Test for #11775