Patent ID: 9639239
Date: 2017-05-02
CPC Classifications: G06F

Claim:
1. A dockbar implementation method comprising: acquiring an interface operation instruction for an application program in a dockbar; generating a dockbar interface refresh data according to the interface operation instruction; and refreshing an interface of the dockbar according to the dockbar interface refresh data; and further comprising: when modifying a resolution of a display device or adjusting size of a work area, acquiring a current height of a work area; calculating a number of applications which are able to be displayed in the dockbar, according to the height of the work area as well as a distance from a top of the dockbar to a top of the work area, a distance from a bottom of the dockbar to a bottom of the work area, an avatar height, an application height, an application interval and a more button height which are set in advance; calculating a height of the dockbar after adjustment according to the number of applications which are able to be displayed as well as the avatar height, the application height, the application interval and the more button height; adjusting the height of the dockbar to be the calculated height of the dockbar after adjustment.