Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- |------Container ------------|
- | explicitHeight: 400 (or whatever)
- | |
- | |-------- VBox -------| |
- | | percentHeight: 100 | |
- | | | |
- | | |-Repeater------| | |
- | | | Potentially | | |
- | | | a lot of stuff. | |
- |--|--|---------------|---|---|
- public static function getFirstExplicitHeightInDisplayList(comp:UIComponent):Number{
- if (!isNaN(comp.explicitHeight)) return comp.explicitHeight;
- if (comp.parent is UIComponent) return
- getFirstExplicitHeightInDisplayList(UIComponent(comp.parent));
- else return 0;
- }
- clipContent = true;
- verticalScrollPolicy = "off"
- scrollRect = new Rectangle(x, y, w, h);
Add Comment
Please, Sign In to add comment