当前位置:首页 > 开发 > 编程语言 > 编程 > 正文

Usage of IncludeInLayout

发表于: 2012-01-19   作者:darrenzhu   来源:转载   浏览次数:
摘要: Specifies whether the component is included in the layout of the parent container, if true, the object is included in its parent container’s layout. If false, the object is positioned by its parent co
Specifies whether the component is included in the layout of the parent container, if true, the object is included in its parent container’s layout. If false, the object is positioned by its parent container as per its layout rules, but it is ignored for the purpose of computing the position of the next child.

Note: no matter what value you set to the visible and includeInLayout, the component has already created; it is different with components in state, when the state has not been set, the components in the state have not been created, and therefore you cannot access them before changing to that state.
  1) Set visible=false will hide the component, but the components’ position is already calculated , so you will see gaps or space representing that component, should not use this way.
  2) Set Visible=false and includeInLayout=false will not only hide the component but also ignore the space occupied by component, so this is a right and good way to hide a component, similar to the hide tag in html.
  3) Set Visible=true and includeInLayout=false will display the component on stage, but it will override or overlap the space occupied by another existed component, so you should not use this way.

Usage of IncludeInLayout

  • 0

    开心

    开心

  • 0

    板砖

    板砖

  • 0

    感动

    感动

  • 0

    有用

    有用

  • 0

    疑问

    疑问

  • 0

    难过

    难过

  • 0

    无聊

    无聊

  • 0

    震惊

    震惊

编辑推荐
Running Locally #pig -x local average_dividend.pig Runnig on Hadoop Cluster #pig -e fs -mkdir
OpenCascade MeshVS Usage eryar@163.com Abstract. MeshVS means Mesh Visualization Service. It
Generalize Sequence containers 序列容器 Array, c++11 std::forward_list, c++11 singly-linked l
Grunt* is Pig’s interactive shell. Start #pig -x local //interacte with local file system #p
Because Android is designed for mobile devices, you should always be careful about how much r
MSDN文档链接:http://msdn.microsoft.com/en-us/library/windows/desktop/ff476259(v=vs.85).aspx
LEK is a set of tools which can take data from any source and search, analyze, and visualize
Estimate TEMP usage without running SQL I decided to post this tip for a while but each time
Primary purpose of this blog is to use http://kylinsoong.iteye.com/blog/1250681 Listed API, c
Harfbuzz是一个OpenType 的shaping engine (http://www.freedesktop.org/wiki/Software/HarfBuzz)。
版权所有 IT知识库 CopyRight © 2009-2015 IT知识库 IT610.com , All Rights Reserved. 京ICP备09083238号