Skip to main content
pshashipreetham
18-Opal
18-Opal
July 29, 2023
Solved

What is the use of Style Inheritance in the Layout Tab

  • July 29, 2023
  • 1 reply
  • 1069 views

Hi,

 

I can see the below(Merge and Duplicate), in the Layout section, I am not sure what is its original use, and how can a Developer take advantage of it.

Shashi_Preetham_0-1690652437942.png

Thanks,

 

Best answer by Arun_C

Hi @pshashipreetham ,

 

As per my knowledge, Style Inheritance can be used to style the Containers while creation itself based on parent container and Deploy it fast. It reduces the recurrent work.

 

For example:-

In my screen I have 1 Parent Container with some defined Style Properties like background color, border styles etc. If i need to do create the same kind of another Child Container with same style properties we don't need spend time to add the Style Properties manullay once again to that new container. For that with the help of selecting Style Inheritance - Duplicate & Adding Child Container it will add (duplicate) the container with same style properties automatically based on the parent.

 

Like the same Style Inheritance - Merge helps to merge the 2 or more containers with same styles of border color, radius etc when adding of child container itself.

 

Style Inheritance - Default mostly used to create the container based on default theme.

 

Thanks & Regards,

Arun C

1 reply

Arun_C16-PearlAnswer
16-Pearl
August 3, 2023

Hi @pshashipreetham ,

 

As per my knowledge, Style Inheritance can be used to style the Containers while creation itself based on parent container and Deploy it fast. It reduces the recurrent work.

 

For example:-

In my screen I have 1 Parent Container with some defined Style Properties like background color, border styles etc. If i need to do create the same kind of another Child Container with same style properties we don't need spend time to add the Style Properties manullay once again to that new container. For that with the help of selecting Style Inheritance - Duplicate & Adding Child Container it will add (duplicate) the container with same style properties automatically based on the parent.

 

Like the same Style Inheritance - Merge helps to merge the 2 or more containers with same styles of border color, radius etc when adding of child container itself.

 

Style Inheritance - Default mostly used to create the container based on default theme.

 

Thanks & Regards,

Arun C