发明名称 Layout of user interface elements
摘要 User interface frameworks may provide an environment for developers to design and arrange user interface elements within a design layout to create a user interface. Many times UI elements comprise non-integer size values (e.g., height, width, position, etc.) due to text, user specified data, and/or centering, for example. Rendering UI elements at non-integer size values may create display artifacts because of sub-pixel rendering. Accordingly, as provided herein, a set of rules may be applied during design layout to non-integer size values to create integer size values (e.g., non-integer size values may be rounded to the nearest integer). Using integer size values in arranging UI elements within a design layout, allows undesirable display artifacts to be mitigated during rendering.
申请公布号 US8984424(B2) 申请公布日期 2015.03.17
申请号 US200912364661 申请日期 2009.02.03
申请人 Microsoft Technology Licensing, LLC 发明人 Relyea David P.
分类号 G06F3/00;G06F9/44 主分类号 G06F3/00
代理机构 代理人 Churna Timothy;Drakos Kate;Minhas Micky
主权项 1. A method for arranging a user interface (UI) element within a user interface design form in a user interface programming environment at design time, comprising: responsive to a developer placing a UI element within a user interface design form in a user interface programming environment at design time: identifying a non-integer size value corresponding to the UI element, the non-integer size value comprising a non-scaled value specified at design time;applying a set of rules to the non-integer size value to produce an integer value; andupdating the non-integer size value with the integer value to create an updated integer size value; and arranging the UI element within the user interface design form at design time based upon the updated integer size value, the arranging not bound to a low level rendering layer.
地址 Redmond WA US