Skip to content

Instantly share code, notes, and snippets.

@johnyanarella
Created June 4, 2010 19:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnyanarella/425823 to your computer and use it in GitHub Desktop.
Save johnyanarella/425823 to your computer and use it in GitHub Desktop.
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