Lines Matching refs:styles

17 - Styles can be cascaded which means multiple styles may be assigned to a Widget and
21 styles. For example ``style_btn`` can result in a default gray button
25 is specified in two styles the newest style in the Widget will be used.
27 - Widgets can also have :ref:`local styles <style_local>` with higher precedence than "normal" styl…
123 to add more styles to a Widget and have the latter added style modify
154 the parent Widget's styles. Inheritance is applied only if the given
155 property is not set in the Widget's styles (even in default state). In
169 Widgets can be composed of *parts* which may each have their own styles.
188 This means all three parts of the slider can have their own styles. See
189 later how to add styles to Widgets and parts.
270 Add and remove styles to a widget
276 Add styles
297 Replace styles
305 adding and removing styles. If the combination of
307 styles, all occurrences will be replaced. The return value of the
318 Remove styles
321 To remove all styles from a Widget use :cpp:expr:`lv_obj_remove_style_all(widget)`.
323 To remove specific styles use
327 ``selector`` and remove all matching styles. The ``selector`` can use
355 - local styles and transitions (see below)
372 In addition to "normal" styles, Widgets can also store local styles.
373 This concept is similar to inline styles in CSS
376 Local styles are like normal styles, but they can't be shared among
377 other Widgets. If used, local styles are allocated automatically, and
381 Unlike in CSS, LVGL local styles can be assigned to states
433 The parameters of the transitions are stored in the styles. It's
518 Themes are a collection of styles. If there is an active theme LVGL
520 to the UI which can then be modified by adding further styles.
554 theme can be selected. The parent theme's styles will be added before
555 the custom theme's styles. Any number of themes can be chained this way.
568 .. include:: ../../../examples/styles/index.rst