In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article will explain in detail about the layout of Flex4, which the editor thinks is very practical, so I share it with you for reference. I hope you can get something after reading this article.
Overview of four Flex4 layout classes
A page:spark.layouts has been added to the spark component library of FlexSDK4 (Gumbo). It includes four more important Flex4 layout classes (class), namely: BasicLayout, HorizontalLayout, TileLayout, and VerticalLayout.
1. BasicLayoutFlex4 layout:
(default property, absolute positioning layout when no positioning is specified)
This is the default FlexSDK3 layout of the spark component, that is, the absolute positioning layout. In FlexSDK3, it corresponds to: layout= "absolute"
2. HorizontalLayoutFlex4 layout:
This is the horizontal layout in the spark component library. The corresponding in it is: layout= "horizontal"
3. VerticalLayoutFlex4 layout:
This is the vertical layout in the spark component library. In FlexSDK3, it corresponds to: layout= "vertical"
4. TileLayoutFlex4 layout:
This is the new layout mode of spark component library, that is, grid layout. TileLayout layout can be said to be the combination of HorizontalLayout and VerticalLayout.
There is another point to pay attention to:
PaddingLeft 、 paddingRight 、 paddingTop 、 paddingBottom
These four attributes have been transferred to HorizontalLayout and VerticalLayout. This is also a little different from FlexSDK3. That is, containers in spark components no longer have paddingLeft, paddingRight, paddingTop, paddingBottom attributes.
This is the end of this article on "what are the ways of Flex4 layout?". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.