Properties

Written By mycondy

Last updated 4 months ago

This feature is only visible in PRO version

On the screen, you can see 2 sections - Builder and Import. Means, that every property related to Layout Builder tab is included in this section. During importing of YAML screen, these properties are related.

Builder properties

  • Font Reducto - After export to YAML, font size of all labels will be decreased about 5px down, if the property is enabled.

  • Hidden Controls - If you have invisible controls in your selected screen in Figma, enabled property will include them in exported YAML code.

  • Replace RECT by HTML - This property is related to “Generate Prefixes“ button. If the property is enabled, all rectangles found in your selected screens will have HTML prefix. Otherwise, RECT prefix will be used.

  • Replace CONT by BTN - By default, frame with one text child will generate BTN prefix after clicking on “Generate Prefixes“ button. If you enable this feature, this condition will be skipped and CONT (container without auto layout), HORCONT (container with horizontal auto layout), or VERCONT (container with vertical auto layout) will be generated.

  • Inherited Parent - If you change a name in a frame that children contains same word, activated property will change the word in every child under a frame

Import properties

  • Include Dependency Model - During importing of your YAML codes in Figma, dependency model will be generated if the property is active. Otherwise, will not.

  • Paste in Screen - If you select some screen in Figma, the imported control from the “New Control“ screen in plugin will be placed inside a selected screen. Otherwise, plugin will find a last X and a last Y available for pasting on your Figma page.

Action Button

A new functionality in this plugin is a reset button. The button can return switchers to the default values. This action cannot be undone.