Dynamically Determining Arrangement of a Layout
    23.
    发明申请
    Dynamically Determining Arrangement of a Layout 审中-公开
    动态确定布局的布置

    公开(公告)号:US20160292133A1

    公开(公告)日:2016-10-06

    申请号:US14866943

    申请日:2015-09-26

    Applicant: Apple Inc.

    CPC classification number: G06F17/212 G06F17/2229

    Abstract: Some embodiments provide a method for rearranging a content layout. The method receives a first layout that includes content elements arranged across a first set of layout sections having a first number of sections, each of which has a same first width. The first layout defines a first margin width on either side of the layout and a first gutter width between the sections. Based on an available display width, the method determines a second gutter width and second margin width for a second layout based on the first layout. The method dynamically calculates a second number of sections in a second set of layout sections for the second layout based on the available display width, second gutter width, and second margin width. Each section of the second set has a same second width. The method rearranges the elements into a second layout that spans the second set of sections.

    Abstract translation: 一些实施例提供了一种用于重排内容布局的方法。 该方法接收第一布局,其包括跨越具有第一数量的部分的第一组布局部分布置的内容元素,每个部分具有相同的第一宽度。 第一个布局定义了布局两侧的第一个边距宽度,以及两个区段之间的第一个沟槽宽度。 基于可用的显示宽度,该方法基于第一布局确定第二布局的第二沟槽宽度和第二边距宽度。 该方法基于可用的显示宽度,第二格栅宽度和第二边距宽度来动态地计算用于第二布局的第二组布局部分中的第二数量的部分。 第二组的每个部分具有相同的第二宽度。 该方法将元素重新排列成跨第二组截面的第二布局。

Patent Agency Ranking