Skip to main content

Advanced Control Settings: Size

Choose Grow, Shrink, or custom flex factors for a container child, check the Width prerequisite, and preview how neighboring controls share space.

The Size option in Yeeflow uses the Flex CSS properties of flex-grow and flex-shrink. The flex grow/shrink property specifies how the item will behave relative to the rest of the flexible items inside the same container when the window is resized.

Using the Size function

When using the Size option, the element’s Width property must be left at the default or blank value. If a Width property is defined, the Grow, and Shrink Size properties will not function.

This is the documented prerequisite for Yeeflow’s Size option. Grow/shrink factors do not specify a fixed width or height. Content and minimum or maximum size constraints can limit the final result; check the resulting layout rather than expecting the factor to override every size constraint.


Auto Size

Select the Grow or Shrink icon in the editor panel to apply the corresponding preset. Choose Custom if you need to enter both factors separately.


Grow

If the growing property is used, the item will attempt to use the remaining space in the container by growing to fit. The default value is 1.


Shrink

Similar but in the reverse, if all the items in the container are too large to naturally fit, the Shrink property may be used. The default shrink value is 1.


Custom Size

Use Custom to enter separate grow and shrink factors. They control relative space distribution, not a fixed number of pixels or an exact ratio of final widths. The controls’ starting sizes and content constraints also affect the result.

For example, in a horizontal search bar, let the search input grow beside the other filters and action button. Preview the whole row at wide and narrow widths; check the input, long labels, and button remain usable before saving.

Locating the Size property

Select a control or nested container inside a Container, then open Advanced → Container Child → Size. See Container Child settings.

The child settings depend on its parent. A control inside a Grid has Grid Child settings for position, spans, and alignment. Do not use flex growth factors as a substitute for grid row or column configuration. See Grid Child settings and the Advanced Settings Tab.


Size Options

You may select between the icons:

  1. None

  2. Grow

  3. Shrink

  4. Custom – If this option is enabled, the following options will appear:

    • Custom Flex Grow – Enter value

    • Custom Flex Shrink – Enter value

Original Size settings with Custom selected, Flex Grow set to 3, and the Flex Shrink input below it.

This focused crop comes from the original help-center screenshot. Its capture date and product build are unknown; check the options available for your selected control and parent layout. The example value 3 is not a required setting.

Did this answer your question?