From f990016623439c738995f0283470da02f1de608b Mon Sep 17 00:00:00 2001 From: Mike Burton Date: Sat, 29 Nov 2025 09:24:50 -0800 Subject: [PATCH] update for clarity --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cc02696..1736e56 100644 --- a/README.md +++ b/README.md @@ -537,8 +537,6 @@ Switcher, Number, Text, and Selector. Dynamic update of styles is supported. When either of the above functions are called, the control is updated live. This could be used to refect a warning state by changing the color of a button, or for similar effects. -You can also add custom CSS classes to the panel of a control using `setPanelClass`. This allows you to apply predefined CSS classes to your controls. - For example, this code will set a control's panel to a random background color: ``` @@ -555,6 +553,8 @@ The [completeExample](examples/completeExample/completeExample.cpp) example incl ![More Inline Styles](docs/ui_inlinestyles2.png) +You can also add custom CSS classes to the panel of a control using `setPanelClass`. This allows you to apply arbitrary CSS classes to your controls. + ### Disabling Controls