gadget width and height are added