Lines Matching refs:size

18 - Explicitly set coordinates are stored in styles (position, size, layouts, etc.)
22 - width/height means the full size, the "content area" is smaller with padding and border width
32 When passing "length units" (a.k.a. "distance units" or "size units") as arguments to
33 functions that modify position, size, etc., to make layout of your UI convenient, you
36 :pixels: Specify size as pixels: an integer value <
40 :percentage: Specify size as a percentage of the size of the Widget's
47 percent* so that if/when the size of the parent container (or
51 :contained content: Specify size as a function of the Widget's children. The macro
52 :c:macro:`LV_SIZE_CONTENT`: passed as a size value has special
58 :inches: Specify size as 1/160-th portion of an inch as if it were pixels
91 :content: the content area which is the size of the bounding box reduced by the border width …
119 Widgets. If so it refreshes their position, size and layout.
125 The size and position might depend on the parent or layout. Therefore
162 /* The size of obj1 will be set back to the default in the end */
163 lv_obj_set_size(widget1, 200, 100); /* Now obj1 has 200;100 size */
167 /* widget2 will have 200;100 size in the end */
195 Percentage values are calculated from the parent's content area size.
249 If the parent's size changes, the set alignment and position of the
309 size. For example to set the Widget's height to the screen height:
315 The size settings support a special value: :c:macro:`LV_SIZE_CONTENT`. It means
316 the Widget's size in the respective direction will be set to the size of
324 The above functions set the size of a Widget's bounding box but the
325 size of the content area can be set as well. This means a Widget's
333 The size of the bounding box and the content area can be retrieved with
351 larger. You can do this with :cpp:expr:`lv_obj_set_ext_click_area(widget, size)`.
360 Under the hood the position, size and alignment properties are style
362 related code for the sake of simplicity and set the position, size, and
373 - The Widget can have different position or size depending on state.
378 Here are some examples to set a Widget's size using a style:
389 As you will see below there are some other great features of size and
453 relative to the size of the Widget (and not to the size of the parent).
471 Similarly to position, a Widget's size can be changed relative to the
472 current size as well. The transformed width and height are added on both
476 Unlike position translation, the size transformation doesn't make the
478 :c:macro:`LV_SIZE_CONTENT` will not react to the transformed size. Hence, size
494 Min and Max size
499 Widget's size from becoming smaller/larger than these values. They are
500 especially useful if the size is set by percentage or
512 Percentage values can be used as well which are relative to the size of
535 Layouts can update the position and size of a Widget's children. They
539 The position and size set by the layout overwrites the "normal" x, y,