Grid setSizeFull problem in Version 8.1.3

Hi,

The Grid component in a verticallayout, in Chrome browse (screen01.png) does not expand.
If you change the order in the head, it correctly updates the grid and expands (screen02).

Code:

gridDocumentControl.addColumn(DocumentControlModel::getVersionNumber).setExpandRatio(0)
.setCaption(getLocale("version"));
gridDocumentControl.addColumn(custom -> Tz1GlobalConfig.getInstance().getDateFormat(custom.getDateCreate()))
.setExpandRatio(0).setCaption(getLocale("create_date"));
gridDocumentControl.addColumn(DocumentControlModel::getRealName).setExpandRatio(3).setCaption(getLocale("name"))
.setId("filter");
gridDocumentControl
.addColumn(custom -> getLocale("log"), new ButtonRenderer<>(event -> btnHistoricEvent(event.getItem())))
.setExpandRatio(0);
gridDocumentControl.setSizeFull();

This code generate in Chrome:

<div class="v-grid v-widget" tabindex="0" id="gwt-uid-64" aria-labelledby="gwt-uid-63" style="height: 400px; width: 500px;">

After click in header:

<div class="v-grid v-widget v-has-width v-has-height" tabindex="0" id="gwt-uid-64" aria-labelledby="gwt-uid-63" style="height: 100%; width: 100%;">

My code don’t size define 400x500.
what to do?

35101.png
35102.png

Hi,

if you can create a self-contained project that reproduces this issue, I’d recommend creating a bug ticket about it at
https://github.com/vaadin/framework/issues

Regards,

Olli