flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Reade (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLEX-34246) Height of each NavigatorContent child increases when new child created
Date Wed, 23 Apr 2014 08:07:18 GMT
David Reade created FLEX-34246:

             Summary: Height of each NavigatorContent child increases when new child created
                 Key: FLEX-34246
                 URL: https://issues.apache.org/jira/browse/FLEX-34246
             Project: Apache Flex
          Issue Type: Bug
          Components: mx: Accordion, Spark: NavigatorContent
    Affects Versions: Apache Flex 4.12.0, Adobe Flex SDK 4.6 (Release)
         Environment: Windows 7 SP1 x64, Flash Builder 4.6, AIR 13.0
            Reporter: David Reade

In the code sample below, I am adding a new child to the Accordion using the button. When
the child is added, the height of each existing child in the Accordion increases automatically,
even though each child has a set height value.

This issue was first noticed using Adobe Flex SDK 4.6 but can also be replicated using the
latest production Apache Flex 4.12.

<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009" 
			import spark.components.BorderContainer;
			import spark.components.NavigatorContent;
			private function add():void
				var n:NavigatorContent = new NavigatorContent();
				n.height = 100;
				var b:BorderContainer = new BorderContainer();
				b.percentHeight = 100;
				b.percentWidth = 100;
	<s:Button click="add()" label="ADD CHILD"/>
	<mx:Accordion id="accordion" width="100%"/>

This message was sent by Atlassian JIRA

View raw message