Dynamically adjust the size of a customised slider?

Hi I am currently working on a custom UI for a plugin and was wondering how I can set up my custom slider objects so that they grow bigger or smaller depending on their value going up or down. Hope that makes sense.

I think you might be looking for the SliderStyle LinearBar, If I understand your question.