diff --git a/docs/details/base-widget/styles/style-properties.rst b/docs/details/base-widget/styles/style-properties.rst index 7641f3d142..aae3d088fd 100644 --- a/docs/details/base-widget/styles/style-properties.rst +++ b/docs/details/base-widget/styles/style-properties.rst @@ -409,7 +409,7 @@ Sets the padding between the columns. Used by the layouts. pad_radial ~~~~~~~~~~ -Pad text labels away from the scale ticks/remainder of the LV_PART_ +Pad text labels away from the scale ticks/remainder of the ``LV_PART_`` .. raw:: html diff --git a/scripts/style_api_gen.py b/scripts/style_api_gen.py index c365a1a9e9..983ae9dc7c 100755 --- a/scripts/style_api_gen.py +++ b/scripts/style_api_gen.py @@ -121,7 +121,7 @@ props = [ {'name': 'PAD_RADIAL', 'style_type': 'num', 'var_type': 'int32_t' , 'default':0, 'inherited': 0, 'layout': 0, 'ext_draw': 0, - 'dsc': "Pad text labels away from the scale ticks/remainder of the LV_PART_"}, + 'dsc': "Pad text labels away from the scale ticks/remainder of the ``LV_PART_``"}, {'section': 'Margin', 'dsc' : "Properties to describe spacing around a Widget. Very similar to the margin properties in HTML."}, {'name': 'MARGIN_TOP',