Special Texture - Hud Progress Bar

I wanna make changes in this texture cuz as u can see its leaving free spaces at top and bottom.
(It’s avaliable in hud examples project) So i opened photoshop and made changes (was trying to reproduce this effect in many channels, or simply resizing the texture then save and reimport it) but just can’t make this things work.

May u please tell me how this texture works ?

myTexture:

exampleProjectTexture:

The Anwser is: Clamp Fnction takes first pixels which are around the texture and determine tiling by it so u have to consider clamping min and max values as extra.