1. A non-transitory computer readable medium storing a computer program for providing a graphical user interface (GUI), the GUI comprising: a resource icon that extends beyond at least one border of a display area such that only a portion of the resource icon is displayed in the display area, wherein a length of the resource icon represents a salient dimension of a resource; and a label automatically rendered at a position in the display area, wherein the label is rendered adjacent to a border of the display area when the resource icon fails to overlap a centerline of the display area, and wherein the label is rendered with distances from the label to two ends of the display area have a same proportion as distances from a center of the display area to two ends of the entire resource icon when the resource icon crosses the centerline of the display area.