Resize widget content¶
In the following widgets are next to the child element
(specifies the outer widget dimensions) other attributes such as.
height to influence the content:
Basically, it is recommended to start without these attributes at
the beginning, since in most cases the size of the content is
automatically adjusted to the widget size. However, in some cases
it may make sense to use the
The information is in CSS format and can be in pixels, percent or relative to the font size.
Size information in pixels¶
The specification in pixels takes place in the
The indication in pixels scales in relation to the viewport size and not in relation to the physical resolution of the display. The viewport size is defined for each device based on the display size (screen size). An overview provides e.g. Viewportsizes.com
Sizes in percent¶
The percentage is expressed in the format
The percentage refers to the visible area of the widget size. That
width=100% the content will be scaled (both enlarged
and reduced) to the entire width of the widget, with
width=50% the widget will be half filled.
Size information relative to the font size¶
The specification is in the format
height="30em". The unit “em” is the standard font size of
the text in the Cometvisu.