Patent ID: 7779367

Claim:
A computer-implemented method comprising: determining a media type associated with media being played in an application window of a software application executing on a computing system and a reduced width of the application window in response to receiving user input to reduce the application window to a smaller window size; determining a base toolbar width of a full toolbar associated with playing the media; evaluating a set of predefined configurations specified for the media type for constructing a toolbar to be displayed in the application window having the smaller window size, wherein the set of predefined configurations includes: a first predefined configuration for constructing the full toolbar displaying a complete set of unscaled tool bar controls associated with playing the media when the reduced width of the application window is between a full window width and the base toolbar width, a second predefined configuration for constructing a scaled toolbar displaying a complete set of individual scaled toolbar controls associated with playing the media that includes a scaled version of each unscaled toolbar control in the full toolbar when the reduced window width is between the base toolbar width and a threshold percentage of the base toolbar width, and a group of predefined configurations for adjusting the scaled toolbar to display a fewer number of individual scaled toolbar controls associated with playing the media when the reduced window width is smaller than the threshold percentage of the base toolbar width, wherein the predefined configurations of the group are assigned different priority levels for selecting one or more different subsets of individual scaled toolbar controls associated with playing the media to be displayed in the application window having the smaller window size; selecting a configuration from the set of predefined configurations, specified for the media type; and displaying the media being played and a toolbar constructed based on the selected configuration in the application window having the smaller window size.