Difference between revisions of "Repeater Properties"
Jump to navigation
Jump to search
(307104) |
(307104) |
||
Line 1: | Line 1: | ||
WIP | WIP | ||
+ | |||
+ | == Properties == | ||
+ | |||
+ | == Presentation == | ||
+ | * '''Aspect ratio flex''': Decimal number determining how much the repeater content's aspect ratio (width divided by height) is allowed to vary. Note that this setting doesn't affect the aspect ratio of the repeater itself in a panel (it's determined in the panel designer), but only its contents. | ||
+ | ** Repeater has a '''design aspect ratio''' which is determined by how presentation objects are arranged in the repeater designer. Note that the whole available design area doesn't matter - only the actual presentation objects determine the shown area and the design aspect ratio. | ||
+ | ** Aspect ratio calculation rule: If design aspect ratio is '''A''' and aspect ratio flex is '''B''', repeater's aspect ratio is allowed to change between '''A/B''' and '''A*B'''. Example: If design aspect ratio is 2 and aspect ratio flex is 4, repeater's aspect ratio is allowed to vary between 0.5 and 8 (2/4=0.5 and 2*4=8). | ||
+ | ** Repeater contents always takes all available space horizontally. If the aspect ratio's lower limit is reached (i.e. repeater contents is not allowed use all available space vertically), there may be empty space in the bottom of the repeater. If the aspect ratio's higher limit is reached (i.e. repeater contents doesn't fit vertically), the repeater has a vertical scrollbar. | ||
+ | ** The aspect ratio flex is useful e.g. for presentation objects which don't work properly if the aspect ratio stretches to too extreme. | ||
+ | * '''Item minimum width (px)''': The smallest width, in pixels, that a single repeated item should have. | ||
+ | * '''Item maximum width (px)''': The biggest width, in pixels, that a single repeated item should have. | ||
+ | * '''Vertical centering''': | ||
+ | * '''Horizontal centering''': | ||
+ | * '''Background color''': | ||
+ | |||
+ | == Data Source == | ||
+ | |||
+ | == Context == | ||
+ | |||
+ | [[Catefory: QPR MobileDashboard]] |
Revision as of 11:30, 21 June 2017
WIP
Properties
Presentation
- Aspect ratio flex: Decimal number determining how much the repeater content's aspect ratio (width divided by height) is allowed to vary. Note that this setting doesn't affect the aspect ratio of the repeater itself in a panel (it's determined in the panel designer), but only its contents.
- Repeater has a design aspect ratio which is determined by how presentation objects are arranged in the repeater designer. Note that the whole available design area doesn't matter - only the actual presentation objects determine the shown area and the design aspect ratio.
- Aspect ratio calculation rule: If design aspect ratio is A and aspect ratio flex is B, repeater's aspect ratio is allowed to change between A/B and A*B. Example: If design aspect ratio is 2 and aspect ratio flex is 4, repeater's aspect ratio is allowed to vary between 0.5 and 8 (2/4=0.5 and 2*4=8).
- Repeater contents always takes all available space horizontally. If the aspect ratio's lower limit is reached (i.e. repeater contents is not allowed use all available space vertically), there may be empty space in the bottom of the repeater. If the aspect ratio's higher limit is reached (i.e. repeater contents doesn't fit vertically), the repeater has a vertical scrollbar.
- The aspect ratio flex is useful e.g. for presentation objects which don't work properly if the aspect ratio stretches to too extreme.
- Item minimum width (px): The smallest width, in pixels, that a single repeated item should have.
- Item maximum width (px): The biggest width, in pixels, that a single repeated item should have.
- Vertical centering:
- Horizontal centering:
- Background color: