From issues-return-12343-archive-asf-public=cust-asf.ponee.io@flex.apache.org Sat Mar 3 23:13:04 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 5CCBC180654 for ; Sat, 3 Mar 2018 23:13:04 +0100 (CET) Received: (qmail 63979 invoked by uid 500); 3 Mar 2018 22:13:03 -0000 Mailing-List: contact issues-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list issues@flex.apache.org Received: (qmail 63969 invoked by uid 99); 3 Mar 2018 22:13:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Mar 2018 22:13:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id D0BD518015C for ; Sat, 3 Mar 2018 22:13:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.511 X-Spam-Level: X-Spam-Status: No, score=-109.511 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id NSXx7KmZBgVI for ; Sat, 3 Mar 2018 22:13:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 45EDC5F401 for ; Sat, 3 Mar 2018 22:13:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 82E87E024F for ; Sat, 3 Mar 2018 22:13:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 0D8EF21230 for ; Sat, 3 Mar 2018 22:13:00 +0000 (UTC) Date: Sat, 3 Mar 2018 22:13:00 +0000 (UTC) From: "Judah Frangipane (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (FLEX-22885) Add a new property that combines visible and includeInLayout into visibleInLayout in the UIComponent MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FLEX-22885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16384869#comment-16384869 ] Judah Frangipane edited comment on FLEX-22885 at 3/3/18 10:12 PM: ------------------------------------------------------------------ Was deferred for 4.0. We are now on 4.16+. Issue is now reopened. was (Author: flexcapacitor): Reopen issue. > Add a new property that combines visible and includeInLayout into visibleInLayout in the UIComponent > ---------------------------------------------------------------------------------------------------- > > Key: FLEX-22885 > URL: https://issues.apache.org/jira/browse/FLEX-22885 > Project: Apache Flex > Issue Type: Improvement > Components: MXML Components > Affects Versions: Adobe Flex SDK 4.5 (Release) > Environment: Affected OS(s): All OS Platforms > Affected OS(s): All OS Platforms > Language Found: English > Reporter: Adobe JIRA > Assignee: Adobe JIRA > Priority: Minor > > Create a new property that allows you to set both the visible and includeInLayout properties at the same time. > Steps to reproduce: > 1.Add a component to the stage > 2.Set visibleInLayout to false to hide and exclude from layout > 3.Set visibleInLayout to true to show and include in layout > > Actual Results: > not created yet > > Expected Results: > when you set the property to true or false: > 2.Set visibleInLayout to false to hide and exclude from layout > 3.Set visibleInLayout to true to show and include in layout > > > Workaround (if any): > Set visible to false and set includeInLayout to false. > Without it you get code that looks like this: > mainContainer.visible=false; > mainContainer.includeInLayout=false; > loadingProgress.visible=true; > loadingProgress.includeInLayout=true; > private function onWallLoadingStop(event:NavigationEvents):void > { > loadingwallprogress.visible=false; > loadingwallprogress.includeInLayout=false; > if (event.str == "ActivityStream") > { > mainWallContainer.visible=false; > mainWallContainer.includeInLayout=false; > } > else > { > mainWallContainer.visible=true; > mainWallContainer.includeInLayout=true; > } > } -- This message was sent by Atlassian JIRA (v7.6.3#76005)