How to scaling texture

I want to scale the texture and used texture.set.repeat (x, 1). But there is no proportional scaling. Then I used texture.set.repeat (x, x), but the Y axis position has changed. I just want to scale in the X axis, what should I do?Thanks!!!

Can you please clarify your problem by modifying the following live example?

Explaining the current and expected behavior in more detail makes it easier to figure out a solution.