diff --git a/docs/widgets/scale.rst b/docs/widgets/scale.rst index 0f038345e..99dd19435 100644 --- a/docs/widgets/scale.rst +++ b/docs/widgets/scale.rst @@ -58,7 +58,7 @@ If instead of a numerical value in the major ticks a text is required they can b with :cpp:expr:`lv_scale_set_text_src(scale, custom_labels)` using ``NULL`` as the last element, i.e. :cpp:expr:`static char * custom_labels[3] = {"One", "Two", NULL}`. - NOTE: The major tick value is calculated with the :cpp:expr:`lv_map` API (when not setting the custom labels), +**NOTE:** The major tick value is calculated with the :cpp:expr:`lv_map` API (when not setting the custom labels), this calculation takes into consideration the total tick number and the scale range, so the label drawn can present rounding errors when the calculated value is a float number.