Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

progressBar with scale bug #14

Closed
raytsang opened this issue Nov 15, 2012 · 0 comments
Closed

progressBar with scale bug #14

raytsang opened this issue Nov 15, 2012 · 0 comments

Comments

@raytsang
Copy link

In Demo Scene - KitchenSinkManager:

    // Progress/Health bar
    var progressBar = UIProgressBar.create( "progressBar.png", 0, 0 );
    progressBar.positionFromBottomLeft( .05f, .02f );
    progressBar.resizeTextureOnChange = true;
    progressBar.localScale = new Vector3(1,1.5f,1);    <<just add this line
    progressBar.value = 0.4f;

the result is not expected...
I have try
progressBar.scale = new Vector3(1,1.5f,1); <<same result

@zapdot zapdot closed this as completed Apr 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant