wiln / flexlib

Automatically exported from code.google.com/p/flexlib
0 stars 0 forks source link

Super Tabnavigator PopUp at the end #364

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Flex 4 + Module
2. when you click the button at the end then it is becoming irresponsible

What is the expected output? What do you see instead?
show tabnames, instead giving the following error

A script has executed for longer than the default timeout period of 15 seconds.
    at mx.utils::StringUtil$/trimArrayElements()[E:\dev\4.x\frameworks\projects\framework\src\mx\utils\StringUtil.as:92]
    at mx.core::UITextField/getTextStyles()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UITextField.as:2263]
    at mx.core::UITextField/validateNow()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UITextField.as:2162]
    at mx.core::UITextField/get measuredHeight()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UITextField.as:1285]
    at mx.controls.menuClasses::MenuItemRenderer/measure()[E:\dev\4.x\frameworks\projects\framework\src\mx\controls\menuClasses\MenuItemRenderer.as:590]
    at mx.core::UIComponent/measureSizes()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:8216]
    at mx.core::UIComponent/validateSize()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:8140]
    at mx.managers::LayoutManager/validateClient()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:889]
    at mx.controls::List/http://www.adobe.com/2006/flex/mx/internal::setupRendererFromData()[E:\dev\4.x\frameworks\projects\framework\src\mx\controls\List.as:1706]
    at mx.controls::List/commitProperties()[E:\dev\4.x\frameworks\projects\framework\src\mx\controls\List.as:895]
    at mx.controls::Menu/commitProperties()[E:\dev\4.x\frameworks\projects\framework\src\mx\controls\Menu.as:1244]
    at flexlib.controls::ScrollableMenu/measure()[/Users/dougmccune/Documents/Flex Builder Moxie/flexlib/trunk/src/flexlib/controls/ScrollableMenu.as:277]
    at mx.core::UIComponent/measureSizes()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:8216]
    at mx.core::UIComponent/validateSize()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:8140]
    at mx.managers::LayoutManager/validateClient()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:889]
    at mx.managers::PopUpManagerImpl/addPopUp()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\PopUpManagerImpl.as:384]
    at mx.managers::PopUpManager$/addPopUp()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\PopUpManager.as:193]
    at mx.controls::PopUpButton/displayPopUp()[E:\dev\4.x\frameworks\projects\framework\src\mx\controls\PopUpButton.as:887]
    at mx.controls::PopUpButton/openWithEvent()[E:\dev\4.x\frameworks\projects\framework\src\mx\controls\PopUpButton.as:820]
    at mx.controls::PopUpButton/clickHandler()[E:\dev\4.x\frameworks\projects\framework\src\mx\controls\PopUpButton.as:1191]

Please use labels and text to provide additional information.
I know there is some problem with flex 4 popupmanager when using modules, is 
this because of that? 
(or) Is this a known issue? if so please let me know the workaround to overcome 
this.

Original issue reported on code.google.com by chowdary...@gmail.com on 11 Jul 2011 at 8:33

GoogleCodeExporter commented 8 years ago
We have the same problem, any solution ?
Thanks in advance

Original comment by saber.ch...@gmail.com on 8 Nov 2011 at 10:54

GoogleCodeExporter commented 8 years ago
Hi,
On class ScrollableMenu.as, go to function mesure and comment the last line on 
it, i.e
// commitProperties();
This solved the problem to me and scrollable menu is shown.

Original comment by saber.ch...@gmail.com on 8 Nov 2011 at 11:30