manolo / gwt-polymer-elements

Polymer Web Components for GWT. A collection of Material Design widgets for desktop and mobile.
Apache License 2.0
155 stars 49 forks source link

grid is not visible if placed inside a horizontal panel or dock panel #147

Open jouni opened 7 years ago

jouni commented 7 years ago

From @rakesh-roshan on May 15, 2016 2:51

<g:DockPanel>
        <g:Dock direction="CENTER" size="100px">
        <g:FlowPanel>
            <v:VaadinGrid ui:field="roleTable" selection="single">
              <table>
                <colgroup>

                  <col name="name" header-text="{commonMsg.labelName}" width="150" sortable=""/>
                  <col name="description" header-text="{commonMsg.labelDescription}" width="150" sortable=""/>
                  <col name="name" header-text="{commonMsg.labelActions}" hidable=""/>
                </colgroup>
                <thead>
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                        <th>Action</th>
                    </tr>
                </thead>
              </table>
            </v:VaadinGrid>
</g:FlowPanel>
        </g:Dock>   
</g:DockPanel>

This grid is not visible

Copied from original issue: vaadin/vaadin-grid#367

jouni commented 7 years ago

From @Saulis on July 29, 2016 7:11

Hi!

Is this still a problem with the latest version of vaadin-grid?