Crate zng_wgt_size_offset

Source
Expand description

Exact size constraints and exact positioning properties.

§Crate

This crate is part of the zng project.

Structs§

WIDGET_SIZE
Exact size property info.

Enums§

WidgetLength
Represents the width or height property value set on a widget.

Functions§

actual_bounds
P Getter property, gets the latest rendered widget inner bounds in the window space.
actual_height
P Getter property, gets the latest rendered widget inner height.
actual_height_px
P Getter property, gets the latest rendered widget inner height, in device pixels.
actual_size
P Getter property, gets the latest rendered widget inner size.
actual_size_px
P Getter property, gets the latest rendered widget inner size, in device pixels.
actual_transform
P Getter property, gets the latest rendered widget inner transform.
actual_width
P Getter property, gets the latest rendered widget inner width.
actual_width_px
P Getter property, gets the latest rendered widget inner width, in device pixels.
baseline
P Set or overwrite the baseline of the widget.
force_height
P Exact height of the widget ignoring the contextual max.
force_size
P Exact size of the widget ignoring the contextual max.
force_width
P Exact width of the widget ignoring the contextual max.
height
P Exact height of the widget.
max_height
P Maximum height of the widget.
max_size
P Maximum size of the widget.
max_width
P Maximum width of the widget.
min_height
P Minimum height of the widget.
min_size
P Minimum size of the widget.
min_width
P Minimum width of the widget.
offset
P Widget layout offset.
size
P Exact size of the widget.
sticky_height
P Retain the widget’s previous height if the new layout height is smaller. The widget is layout using its previous height as the minimum height constrain.
sticky_size
P Retain the widget’s previous size if the new layout size is smaller. The widget is layout using its previous size as the minimum size constrain.
sticky_width
P Retain the widget’s previous width if the new layout width is smaller. The widget is layout using its previous width as the minimum width constrain.
width
P Exact width of the widget.
x
P Offset on the x axis.
y
P Offset on the y axis.