How is the size defined in the first place ?
If it’s placed in a Canvas Panel, with a fixed size defined, you can change it by accessing its slot as canvas slot (Widget->SlotAsCanvasSlot) and modifying the size there.
Alternatively if you wrap it in a size box with a fixed WidthOverride, you can easily modify that too.