flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Harui (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (FLEX-34375) FormItem label doesn't show when formItem visible and includeInLayout are set dynamically
Date Sun, 22 Jun 2014 14:47:24 GMT

     [ https://issues.apache.org/jira/browse/FLEX-34375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alex Harui reassigned FLEX-34375:
---------------------------------

    Assignee: Alex Harui

> FormItem label doesn't show when formItem visible and includeInLayout are set dynamically
> -----------------------------------------------------------------------------------------
>
>                 Key: FLEX-34375
>                 URL: https://issues.apache.org/jira/browse/FLEX-34375
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: mx: Form View
>    Affects Versions: Apache Flex 4.12.0
>         Environment: All
>            Reporter: João Fernandes
>            Assignee: Alex Harui
>            Priority: Minor
>              Labels: formItem, includeInLayout
>         Attachments: FLEX-34375.diff
>
>   Original Estimate: 1m
>  Remaining Estimate: 1m
>
> In the following example 
> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
>                xmlns:mx="library://ns.adobe.com/flex/mx">
>     <fx:Script><![CDATA[
>         [Bindable]
>         public var show:Boolean;
>         ]]></fx:Script>
>     <s:HGroup>
>         <mx:Form>
>             <mx:FormItem label="test">
>                 <mx:TextInput text="test"/>
>             </mx:FormItem>
>             <mx:FormItem label="test">
>                 <mx:TextInput text="test"/>
>             </mx:FormItem>
>             <mx:FormItem label="test">
>                 <mx:TextInput text="test"/>
>             </mx:FormItem>
>         </mx:Form>
>         <mx:Form>
>             <mx:FormItem label="test" visible="{show}" includeInLayout="{show}">
>                 <mx:TextInput text="test"/>
>             </mx:FormItem>
>             <mx:FormItem label="test" visible="{show}" includeInLayout="{show}">
>                 <mx:TextInput text="test"/>
>             </mx:FormItem>
>             <mx:FormItem label="test" visible="{show}" includeInLayout="{show}">
>                 <mx:TextInput text="test"/>
>             </mx:FormItem>
>         </mx:Form>
>     </s:HGroup>
>     <mx:Button click="show=!show" label="click me" bottom="5" right="5"/>
> </s:Application>
> Once you press the button, only the textInputs are shown in the second form.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message