// If no progress, then we do not want a n-patch image shown incorrectly
progressSize.width = std::max( mProgressVisualSize.width, mDomain.from.x + mValue * ( mDomain.to.x - mDomain.from.x ) );
// If no progress, then we do not want a n-patch image shown incorrectly
progressSize.width = std::max( mProgressVisualSize.width, mDomain.from.x + mValue * ( mDomain.to.x - mDomain.from.x ) );