This is an automated email from the ASF dual-hosted git repository.
carlosrovira pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new eb1338c jewel-datagrid: make datagrid respond to changes in the size
of containers
eb1338c is described below
commit eb1338c11ac3e9cd4f9c5f014bbe501d4de31ef4
Author: Carlos Rovira <[email protected]>
AuthorDate: Sun Mar 8 23:03:59 2020 +0100
jewel-datagrid: make datagrid respond to changes in the size of containers
---
.../main/royale/org/apache/royale/jewel/beads/layouts/DataGridLayout.as | 1 +
1 file changed, 1 insertion(+)
diff --git
a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/layouts/DataGridLayout.as
b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/layouts/DataGridLayout.as
index 9fe4c93..4ce3ed0 100644
---
a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/layouts/DataGridLayout.as
+++
b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/layouts/DataGridLayout.as
@@ -69,6 +69,7 @@ package org.apache.royale.jewel.beads.layouts
public function set strand(value:IStrand):void
{
_strand = value;
+ (_strand as
IEventDispatcher).addEventListener("sizeChanged", handleLayoutNeeded);
(_strand as
IEventDispatcher).addEventListener("layoutNeeded", handleLayoutNeeded);
}