Maybe try something like this:
PHP Code:
new GuiShowImgCtrl("Arm_Inventory_IconBox_" @ temp.v) {
x = new_x_position + 3;
y = new_y_position + 30;
image = "armageddon_inventory-iconbox.gif";
mode = 1;
new GuiShowImgCtrl("Arm_Inventory_IconBox_" @ temp.v @ "_Icon") {
image = search_list[temp.v].image;
x = 4; // Since it's a child of 'IconBox' it's x/y will be relative.
y = 5; // It should also draw above the icon box as well.
mode = 1;
}
}