Hi,
I'm using the Character X example in my game's inventory UI and I've run into an issue. Regardless of what I do, when I drag an inventory item onto a slot in the backpack UIItemStorage grid, the icon is always drawn at 120x120, which is bigger than the UIItemStorage grid size of 79x79. Similarly, when dragging the item, the UICursor that shows the item as it is dragging is also created at dimensions 120x120.
I see that the backpack UIItemStorage grid uses a prefab (Storage Icon Template) to draw the icon when there is an item in a slot. I have tried adjusting the dimensions of that prefab's Icon object to 79x79 but at runtime, the icon is always drawn at 120x120. Similarly, I have tried adjusting the UICursor's sprite object to 79x79 but it is also drawing at 120x120.
I've tried to search in the code for where the dimensions of these icons is assigned since it doesn't grab them from the prefabs but I'm not able to find it. Can anyone help?