Hi Brian,
thanks for reporting, I'll take a look
El mar., 18 feb. 2020 a las 2:05, Brian Raymes (<[email protected]>)
escribió:
> I cannot seem to make the Jewel DataGrid size properly when the width is
> set to a percentage.
>
>
>
> In Flex 3, it was possible to set the DataGrid’s width to a percentage, as
> well as columns, and/or mix/match with pixel widths. What am I missing?
>
>
>
> I’ve been toying with examples within Jewel, and cannot seem to replicate
> the DataGrid that scales.
>
>
>
> FYI, I am running the absolute latest as I build the framework from a
> local git clone that I update daily.
>
>
>
> This is how it appears with every build:
>
>
>
>
>
> If the image does not display, here is an ascii representation:
>
>
>
>
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
> | WHEN |
> RECIPIENT |
> DURATION |
>
>
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
> | | | |
> | | | |
>
> | | | |
>
> | | | |
>
> | | | |
>
> | | | |
>
> | | | |
>
>
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
>
>
> Sample code:
>
>
>
> xmlns:j="library://ns.apache.org/royale/jewel"
>
>
>
> <j:Card>
>
>
>
> <j:DataGrid
>
> id="activityLogDataGrid"
>
> width="100%"
>
> dataProvider="{activityLogs}"
>
> rowHeight="42"
>
> emphasis="emphasized">
>
>
>
> <j:columns>
>
>
>
> <j:DataGridColumn
>
> dataField="formattedTimestamp" label="When"/>
>
>
>
> <j:DataGridColumn
>
> dataField="recipient" label="Recipient"/>
>
>
>
> <j:DataGridColumn
>
> dataField="duration" label="Duration"/>
>
>
>
> </j:columns>
>
>
>
> </j:DataGrid>
>
>
>
> </j:Card>
>
>
>
>
>
> Any help would be appreciated.
>
>
>
> Brian
>
>
>
--
Carlos Rovira
http://about.me/carlosrovira