Techniques for user interface layouts
摘要:
Techniques for rendering a user interface may include: receiving a view area height and width, a first integer denoting a count of objects to be displayed, a minimum row height, and a minimum object width; determining a maximum allowed number of columns in accordance with the view area width and minimum object width; determining a current number of rows in accordance with the view area height, a current number of columns, the minimum row height, and the first integer; determining whether the current number of rows and columns denote an optimized layout of the objects, wherein the optimized layout is in accordance with a plurality of conditions; and responsive to determining the current number of rows and columns denote an optimized layout, rendering the plurality of objects in a view area in accordance with the current number of rows and columns.
公开/授权文献
信息查询
0/0