Issues With UIGradient Inside an Object Controlled by ListLayout

I’m trying to make this title for a shop where the two ends fade out and it works in other UIs in my game, but for some particular reason, it doesn’t in this one, and it has to do with the UIListLayout or UIPadding. The first image shows when the padding is how I intended it to be, and the second image is after I tried to set the padding so that the gradient would work properly.

Padding (0, 1)

Padding (0, 10)

How can I make it show up properly without changing the padding?