flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yishay Weiss (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-35263) [FlexJS] Layout Does Not Reset ContentView Width After Elements Removed (HTML only)
Date Mon, 20 Feb 2017 07:24:44 GMT

    [ https://issues.apache.org/jira/browse/FLEX-35263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15874141#comment-15874141
] 

Yishay Weiss commented on FLEX-35263:
-------------------------------------

Wouldn't it be better to time the call to layout so it doesn't get called unless the children
have been added?

> [FlexJS] Layout Does Not Reset ContentView Width After Elements Removed (HTML only)
> -----------------------------------------------------------------------------------
>
>                 Key: FLEX-35263
>                 URL: https://issues.apache.org/jira/browse/FLEX-35263
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: FlexJS
>    Affects Versions: Apache FlexJS 0.8.0
>            Reporter: Yishay Weiss
>
> In this app:
> https://paste.apache.org/EiP5
> Aftrer clicking 'Remove' you still see scrollbars on mainGuy.
> The problem is fixed if in BaicLayout we replace
>                 if (!hasWidth && n > 0 && !isNaN(maxWidth)) {
> with
>                 if (!hasWidth && !isNaN(maxWidth)) {
> But I'm not sure that doesn't break anything.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message