try set height in pixels

On 1 October 2015 at 18:14, Patrick May <[email protected]> wrote:

> My application consists of a SplitLayoutPanel that has a StackLayoutPanel
> with two menu selections on the left and a DeckLayoutPanel on the right.
> The DeckLayoutPanel has two subpanels, one a SimpleLayoutPanel containing a
> Label and one a DockLayoutPanel containing a Label and another
> SimpleLayoutPanel.  The last SimpleLayoutPanel contains a DataGrid.
>
> SplitLayoutPanel (TestUI)
>   |
>   + StackLayoutPanel
>   |   |
>   |   + CellList (Profile)
>   |   |
>   |   + CellList (Admin)
>   |
>   + DeckLayoutPanel
>       |
>       + SimpleLayoutPanel
>       |   |
>       |   + Label
>       |
>       + DockLayoutPanel (BudgetPanel)
>           |
>           + Label
>           |
>           + SimpleLayoutPanel (LedgerPanel)
>               |
>               + DataGrid
>
> All subpanels have their height and width set to 100% by their containing
> panels.
>
> The code is all available here:
> https://github.com/patrickmay/data-grid-issue/tree/master/TestUI
>
> *Expected Behavior*
>
> The expected behavior is that clicking on the "Budget" menu item in the
> StackLayoutPanel will show the BudgetPanel, including the LedgerPanel's
> DataGrid.
>
>
> *Observed Behavior*
>
> When the "Budget" menu item is clicked, the DockLayoutPanel is displayed,
> with its header Label, the DataGrid column headers are displayed, but the
> DataGrid rows do not appear.
>
> When a Label is added to the south area of the DockLayoutPanel, the
> application compiles but nothing is displayed, not even the top level
> StackLayoutPanel.
>
> When the DataGrid is replaced with a CellTable, the data is displayed
> (although the height of each row is much more than necessary to hold the
> data).
>
>
> *Questions*
>
> What needs to be done to get the DataGrid to display as expected?
>
> How can the rows be styled to have a smaller height?
>
> --
> You received this message because you are subscribed to the Google Groups
> "GWT Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to