How to make GIcon expand to full width inside a St Icon

I have created an extension called lockscreen-extension

Now I am trying to implement a preview of the background image using GIcon.

Basically I am using PopupImageMenuItem from PopupMenu where I am passing the text parameter as backgroundName and icon parameter as gicon as below.

const backgroundNameItem = new PopupMenu.PopupImageMenuItem(backgroundName, Gio.icon_new_for_string(backgroundName));

I can set the height of the PopupImageMenuItem easily but gicon is not scaling to it. see the below image for reference.

    backgroundNameItem._icon.set_icon_size(96);

solved it with set_icon_size(size)