ScaleX and ScaleY for Physics

There is a shape scale action for the Physics 2.0 behavior, but I need to scale the width of the shape without scaling its height (thickness, in my case).
Is it possible, or do I need to figure another way out?
These are two physics objects, the bar is resized in-game.