For anyone stumbling upon this you can find inline decorator options in RichTextBlockImageDecorator.cpp (see: CreateDecoratorWidget function).
As of writing this you can utilize:
- width=“somenumber”
- width=“desired” (this will use the image width set in the data table)
- height=“somenumber”
- height=“desired” (this will use the image height set in the data table)
- stretch=“stretchOption” (stretch options use EStretch enum values (see SScaleBox.h))
Example of text set on the RichTextBlock (either via Details Panel or SetText function):
My text content <img id="FooRowName" height="64" width="64" stretch="ScaleToFit"/> more text content
Use any combination to fit your needs
As for the OP, I believe they would want to utilize the stretch=“ScaleToFitY” option.