/** * @private */ override protected function measure() : void { // Temporarily move the thumb to the top of the Slider so measurement // doesn't factor in its y position. This allows resizing the // VSlider to less than 100px in height. var thumbPos:Number = thumb.getLayoutBoundsY(); thumb.setLayoutBoundsPosition(thumb.getLayoutBoundsX(), 0); super.measure(); thumb.setLayoutBoundsPosition(thumb.getLayoutBoundsX(), thumbPos); }