Created
June 4, 2010 19:12
-
-
Save johnyanarella/425823 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.codecatalyst.components | |
{ | |
import mx.containers.Box; | |
public class BoxFrame extends Box | |
{ | |
// ======================================== | |
// Constructor | |
// ======================================== | |
/** | |
* Constructor. | |
*/ | |
public function BoxFrame() | |
{ | |
super(); | |
} | |
// ======================================== | |
// Protected methods | |
// ======================================== | |
/** | |
* @inheritDoc | |
*/ | |
override protected function measure() : void | |
{ | |
// Prevent children from increasing the size of the container. | |
measuredWidth = 0; | |
measuredHeight = 0; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment