Inherited Text Property From Parent Panel

Editor: Beta
Target: All Content Panel Components

Feature: Add a Text property to all panel types, so that any text component that gets placed within it will inherit the (parent) panel’s text property. Make it toggleable, False by default, so that it doesn’t have to load the text property if the developer isn’t going to using any text components. Just a nice little quality of life update!

Stay Frosty, boys…

What problem is this intended to solve?

Problem: Having to manually set the text_property for every textual component you place within a content_panel type component.
Solution: Textual components inherit their parent content_panel’s text properties.

I can’t remember when I’ve ever wanted to set them all to the same text. Usually, the reason for having multiple components is that their contents will differ!

2 Likes

I completely forgot about .css…

html {
    font-family: roboto, sans-serif;
}