Merge pull request #10175 from andyque/fixSliderProgressRender

fix slider scale9 render
This commit is contained in:
minggo 2015-01-22 17:59:17 +08:00
commit 38b0d25bc5
1 changed files with 1 additions and 1 deletions

View File

@ -367,7 +367,7 @@ void Slider::setPercent(int percent)
_slidBallRenderer->setPosition(dis, _contentSize.height / 2.0f);
if (_scale9Enabled)
{
_progressBarRenderer->setPreferredSize(Size(dis,_progressBarTextureSize.height));
_progressBarRenderer->setPreferredSize(Size(dis,_contentSize.height));
}
else
{