Patent Document ID: 9535721
Application ID: 13919816
Patent Flag: 1

Claim One:
1. A method of removing constraints in optimizing layout of a graphical user interface (GUI) displayed on a display device, the method comprising: accumulating a plurality of constraint removal requests based upon a change of the GUI, until an occurrence of an event; in response to the occurrence of the event, identifying a plurality of constraints, each having a marker, for bulk removal from a constraint collection based on a change of the GUI, wherein a constraint in the constraint collection constrains at least one of a size or a position of a user interface element of the GUI, the constraint collection defining a layout of elements of the GUI on the display device; sorting the plurality of constraints in an order based on a count of occurrences of each marker, or for each marker, a count of equations having the marker in an optimization layout of the GUI, to put the plurality of constraints in a sorted order; performing bulk constraint removal on the plurality of constraints based on the sorted order, lowest count first; and displaying the GUI with an updated layout on the display device according to the updated constraint collection.