set default position of widget like "relative" if it is empty