flex-users / flexlib

Open Source Flex components library.
github.com/flex-users/flexlib
MIT License
204 stars 91 forks source link

Prompting Text Input kills flash #359

Open nicoulaj opened 13 years ago

nicoulaj commented 13 years ago

Originally filed by larson...@gmail.com on 2011-05-16T18:40:18

What steps will reproduce the problem?

  1. Create prompting text input object. Width 100%.
  2. Create string validator and set the source to be the prompting text input.
  3. resize browser and flash crashes.

What is the expected output? What do you see instead? The UI should resize properly. It crashes flash instead.

What version of the product are you using? On what operating system? Flash builder 4. Windows Vista and Windows 7

Please provide any additional information below.

<fx:Declarations>
      <mx:StringValidator id="vAccountName" source="{account_name}" maxLength="200" required="true" property="text" />
</fx:Declarations>

<s:Panel title="Account Information" width="100%" dropShadowVisible="false" chromeColor="#c0d360" backgroundColor="#efefef">
   <code:AdvancedForm x="0" y="0" width="100%">
      <mx:FormItem label="Account Name" fontWeight="bold" width="100%">
         <code:PromptingTextInput prompt="hello world" id="account_name" width="100%" />
      </mx:FormItem>
   </code:AdvancedForm>
</s:Panel>