Patent ID: 7634742

Claim:
A method comprising: receiving in a graphical user interface an input requesting the moving of a button from a source toolbar to a destination toolbar, the button having a button presentation and a set of button constraints, the button constraints including a range of button heights and a range of button widths, the button constraints specifying that the button is to be presented at one of a fixed number of presentation sizes, and the destination toolbar having a set of destination toolbar buttons at a time of the input, a toolbar presentation, and a set of toolbar constraints, the toolbar constraints specifying a range of toolbar heights for a horizontal toolbar presentation and a range of toolbar widths for a vertical toolbar presentation, the toolbar constraints including constraints derived from the set of destination toolbar buttons; calculating an adapted presentation of the destination toolbar with the button, including calculating a modified presentation of the button subject to the set of button constraints and calculating a modified presentation of the destination toolbar subject to the set of toolbar constraints, such that when the button is moved from the source toolbar to the destination toolbar, the destination toolbar constraints and the presentation sizes specified by the button constraints determine the size of the moved button in the destination toolbar; and drawing the destination toolbar with the button on the destination toolbar according to the adapted presentation, wherein the destination toolbar size does not change and all the buttons on the destination toolbar are a uniform size; wherein receiving is performed by one or more computers.