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
commit 41ccf01b170a4171bd6e9c3640972ddd39bea584 Author: Carlos Rovira <[email protected]> AuthorDate: Wed May 13 16:48:19 2020 +0200 finish collapsible renderer finished --- .../itemRenderers/NavigationGroupExampleItemRenderer.mxml | 14 +++++++++----- frameworks/projects/Jewel/src/main/resources/defaults.css | 1 - .../itemRenderers/CollapsibleNavigationSectionRenderer.as | 15 ++++++++++++++- .../apache/royale/jewel/itemRenderers/ListItemRenderer.as | 4 ++++ .../Jewel/src/main/sass/components/_navigation.sass | 3 +-- 5 files changed, 28 insertions(+), 9 deletions(-) diff --git a/examples/jewel/TourDeJewel/src/main/royale/itemRenderers/NavigationGroupExampleItemRenderer.mxml b/examples/jewel/TourDeJewel/src/main/royale/itemRenderers/NavigationGroupExampleItemRenderer.mxml index c7412af..3ea5289 100644 --- a/examples/jewel/TourDeJewel/src/main/royale/itemRenderers/NavigationGroupExampleItemRenderer.mxml +++ b/examples/jewel/TourDeJewel/src/main/royale/itemRenderers/NavigationGroupExampleItemRenderer.mxml @@ -21,9 +21,10 @@ limitations under the License. xmlns:j="library://ns.apache.org/royale/jewel" xmlns:js="library://ns.apache.org/royale/basic" xmlns:html="library://ns.apache.org/royale/html" - className="layout vertical" + sectionClick="handleNavToggle(event)" - height="48"> + minHeight="48"> + <!-- using 'minHeight' instead of 'height' here since collapsible changes heigth of the renderer --> <fx:Script> <