I cant resize my Image Libgdx

So i am making a time based game so i need for the timer bar to go up
I have a white background that is the full length to the Green color Image

This is the Image class btw
http://libgdx.l33tlabs.org/docs/api/com/badlogic/gdx/scenes/scene2d/ui/Image.html

In the screen render function i use



public void render(float delta) {
	        j += delta; // j declared globally
                Timer.setWidth(j);
		Gdx.gl.glClearColor(0,0,0,1);
		Gdx.gl.glClear(GL10.GL_COLOR_BUFFER_BIT);
		stage.act(delta);
		batch.begin();
		stage.draw();
		batch.end();
			
	}



It only updates ones and the stays like that even though i have confirmation the width is change i.e system.print
I am kinda lost ???

Searched everywhere
I dont need the code, just a point in the right direction

After some more “investigating” i.e System.out.println
I found that the width of the Image class does not change after it has been drawn for the first time
Now i have to find a way to either change the Image width or print the max width and then render the part that is true

Stay tuned…

There also seem to be a difference between getImageWidth and getWidth

Maybe create a sprite from your texture and adjust that on the fly. I think you can do that…

EDIT:
http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/graphics/g2d/Sprite.html#setSize(float, float)

Thanks man
You are the best

Guess i forgot KISS

that can help lol