Update components/lvgl.rst
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
This commit is contained in:
parent
a1c922fcdd
commit
eb93ce7219
|
@ -413,7 +413,7 @@ At the next level of the LVGL object hierarchy are the widgets, which support st
|
|||
|
||||
Widgets can have children, which can be any other widgets. Think of this as a nested structure. The child widgets move with the parent and, if the parent is hidden, its children will also be hidden.
|
||||
|
||||
By default, LVGL draws new widgets on top of old widgets, including their children. When widgets have children, property inheritance takes place. Some properties (typically that are related to text and opacity) can be inherited from the parent widgets's styles. When the property is inheritable, the property's value will be searched in the parents too until an object specifies a value for it. The parents will use their own :ref:`state <lvgl-wgtprop-state>` to determine the value. So for example if a button is pressed, and the text color comes from here, the pressed text color will be used.
|
||||
By default, LVGL draws new widgets on top of old widgets, including their children. When widgets have children, property inheritance takes place. Some properties (typically those related to text and opacity) can be inherited from the parent widgets's styles. When the property is inheritable, the parent will be searched for an object which specifies a value for the property. The parents will use their own :ref:`state <lvgl-wgtprop-state>` to determine the value. For example, if a button is pressed and the text color is defined by the "pressed" state, this "pressed" text color will be used.
|
||||
|
||||
Common properties
|
||||
*****************
|
||||
|
|
Loading…
Reference in New Issue