Is it a bug?

Dear Collegues,

Take a closer look at these attached prints. Notice the vertical gray bar on the right, beside of button “Buscar Dados” at Chrome. Firefox and IE it does not occur.

My sctructure is:

A VerticalLayout → VerticalSplitLayout → 1.° GridLayout (white above); 2.° VerticalLayout → 2 Panels …

The first component of the split (Gridlayout) has the follow configuration:


fieldsLayout = new GridLayout(5, 1);
fieldsLayout.setSizeFull();
fieldsLayout.setStyleName(Reindeer.LAYOUT_WHITE);
fieldsLayout.setMargin(true);
fieldsLayout.setColumnExpandRatio(0, 0.05f);
fieldsLayout.setColumnExpandRatio(1, 0.05f);
fieldsLayout.setColumnExpandRatio(2, 0.05f);
fieldsLayout.setColumnExpandRatio(3, 0.05f);
fieldsLayout.setColumnExpandRatio(4, 0.80f);
splitPanel.setFirstComponent(fieldsLayout);

At last, the second component


tableLayout = new VerticalLayout();
tableLayout.setSizeFull();
tableLayout.setMargin(true);
tableLayout.setSpacing(true);

splitPanel.setSecondComponent(tableLayout);

13046.png
13047.png
13048.png

Assuming the layouts that contain the VerticalSplitPanel have correct size settings, your code should behave correctly with fieldsLayout.setSizeFull(). You could try running Analyze Layouts (AL) from the debug console (add “?debug” to the URL).

If there is a difference between browsers, that could be considered a bug. Based on the width and location of the bar on the right, I would suspect something has considered scroll bars are needed, reserved space for them and then decided they aren’t needed after all.

Can you
create a ticket
with a minimal UI (or Application) class demonstrating the issue, with information about the Vaadin and Chrome versions used? Please also check if the zoom setting on the browser is 100% or something else.