Difference between revisions of "Container Presentation Settings in QPR UI"
Jump to navigation
Jump to search
(307316) |
|||
(One intermediate revision by the same user not shown) | |||
Line 7: | Line 7: | ||
* '''Inner margin''': For views, horizontal/vertical space between the panels in the view. For panels, horizontal/vertical space between the presentation objects in the panel. Defined in pixels. | * '''Inner margin''': For views, horizontal/vertical space between the panels in the view. For panels, horizontal/vertical space between the presentation objects in the panel. Defined in pixels. | ||
* '''Outer margin''': For views, space between the panels and the view outer border. For panels, space between the presentation object(s) and the panel border. Defined in pixels. | * '''Outer margin''': For views, space between the panels and the view outer border. For panels, space between the presentation object(s) and the panel border. Defined in pixels. | ||
− | * '''Background color''': Background color of the view/panel/repeater. Panels inside the view may have other background colors than the view. It's possible to set transparent background by | + | * '''Background color''': Background color of the view/panel/repeater. Panels inside the view may have other background colors than the view. It's possible to set transparent background by setting the value of the alpha channel in the rgba to 0 either by inputting the value or by using the rightmost slider. For panels, the background color doesn't affect the panel header background, which is always white. Note that presentation objects inside the panel may be transparent or have other background color than the panel. |
* '''SVG background''': The SVG image to use as the panel background. The SVG image will be rendered on top of the defined panel Background color. The SVG image is defined in the same way as with [[SVG_Properties|SVG Presentation Objects]], except that the SVG image used as the panel background cannot contain actions. | * '''SVG background''': The SVG image to use as the panel background. The SVG image will be rendered on top of the defined panel Background color. The SVG image is defined in the same way as with [[SVG_Properties|SVG Presentation Objects]], except that the SVG image used as the panel background cannot contain actions. | ||
Line 13: | Line 13: | ||
* '''Hide panel header''': Used to set panel header (caption) visible or hidden. If panel header is visible, also the panel name is not visible. Panel's buttons (edit, delete, fullscreen) are visible in both cases, but if panel header is hidden, buttons are located over the panel's content area. Panel header can be set hidden, if it's not needed, because it allows more space for the panel contents. | * '''Hide panel header''': Used to set panel header (caption) visible or hidden. If panel header is visible, also the panel name is not visible. Panel's buttons (edit, delete, fullscreen) are visible in both cases, but if panel header is hidden, buttons are located over the panel's content area. Panel header can be set hidden, if it's not needed, because it allows more space for the panel contents. | ||
* '''Hide fullscreen mode icon''': Used to set panel full screen mode icon visible or hidden. The fullscreen icon can be set hidden, if the fullscreen functionality is not needed for the panel. | * '''Hide fullscreen mode icon''': Used to set panel full screen mode icon visible or hidden. The fullscreen icon can be set hidden, if the fullscreen functionality is not needed for the panel. | ||
− | * '''Border color''': Panel border color. Border color also affects the one pixel horizontal line between panel content area and header. It's possible to set transparent background by | + | * '''Border color''': Panel border color. Border color also affects the one pixel horizontal line between panel content area and header. It's possible to set transparent background by setting the value of the alpha channel in the rgba to 0 either by inputting the value or by using the rightmost slider. |
* '''Border width''': Border width of the panel. Border width can be set to zero to remove panel border. Border width doesn't affect the one pixel horizontal line between panel content area and header. | * '''Border width''': Border width of the panel. Border width can be set to zero to remove panel border. Border width doesn't affect the one pixel horizontal line between panel content area and header. | ||
* '''Border corner radius''': The amount of rounding of the panel corners. Zero means that panel has sharp rectangular corners. | * '''Border corner radius''': The amount of rounding of the panel corners. Zero means that panel has sharp rectangular corners. |
Latest revision as of 06:38, 20 June 2018
Common settings for all containers (view, panel, repeater):
- Aspect ratio flex: Decimal number determining how much panel content's aspect ratio (width divided by height) is allowed to vary. Note that this setting doesn't affect the aspect ratio of the panel itself in a view (it's determined in the view designer), but only its contents.
- Panel has a design aspect ratio which is determined by how presentation objects are arranged in the panel 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, panel'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, panel's aspect ratio is allowed to vary between 0.5 and 8 (2/4=0.5 and 2*4=8).
- Panel contents always takes all available space horizontally. If the aspect ratio's lower limit is reached (i.e. panel contents is not allowed use all available space vertically), there may be empty space in the bottom of the panel. If the aspect ratio's higher limit is reached (i.e. panel contents doesn't fit vertically), the panel 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.
- Inner margin: For views, horizontal/vertical space between the panels in the view. For panels, horizontal/vertical space between the presentation objects in the panel. Defined in pixels.
- Outer margin: For views, space between the panels and the view outer border. For panels, space between the presentation object(s) and the panel border. Defined in pixels.
- Background color: Background color of the view/panel/repeater. Panels inside the view may have other background colors than the view. It's possible to set transparent background by setting the value of the alpha channel in the rgba to 0 either by inputting the value or by using the rightmost slider. For panels, the background color doesn't affect the panel header background, which is always white. Note that presentation objects inside the panel may be transparent or have other background color than the panel.
- SVG background: The SVG image to use as the panel background. The SVG image will be rendered on top of the defined panel Background color. The SVG image is defined in the same way as with SVG Presentation Objects, except that the SVG image used as the panel background cannot contain actions.
Panel specific settings:
- Hide panel header: Used to set panel header (caption) visible or hidden. If panel header is visible, also the panel name is not visible. Panel's buttons (edit, delete, fullscreen) are visible in both cases, but if panel header is hidden, buttons are located over the panel's content area. Panel header can be set hidden, if it's not needed, because it allows more space for the panel contents.
- Hide fullscreen mode icon: Used to set panel full screen mode icon visible or hidden. The fullscreen icon can be set hidden, if the fullscreen functionality is not needed for the panel.
- Border color: Panel border color. Border color also affects the one pixel horizontal line between panel content area and header. It's possible to set transparent background by setting the value of the alpha channel in the rgba to 0 either by inputting the value or by using the rightmost slider.
- Border width: Border width of the panel. Border width can be set to zero to remove panel border. Border width doesn't affect the one pixel horizontal line between panel content area and header.
- Border corner radius: The amount of rounding of the panel corners. Zero means that panel has sharp rectangular corners.
Repeater specific settings:
- Item minimum width: The smallest width, in pixels, that a single repeated item can have. This setting can be used to limit the repeated item width so that it's not too small. Defining this settings means that the repeater is vertically scrollable if the limit width is reached (i.e. there is too few space to fit all the repeated items having the limited size).
- Item maximum width: The largest width, in pixels, that a single repeated item should have. This setting can be used to limit the maximum size of repeated items. It's usefull when the Repeater takes large are in the screen and there may be only one or two repeated items. Defining this setting means that the repeater may contain empty space, when the repeated items are maximum width limited.
- Vertical centering: Center repeated items vertically inside repeater.
- Horizontal centering: Center repeated items horizontally inside repeater.