Mysterious space above and below a widget in SRichTextBlock

If we set lineheight of SRichTextBlock greater than 1.0, the space by lineheight will be added to the top or bottom of the widget created inside SRichTextBlock through the decorator.

For example, if you set 1.5 for lineheight, an empty space equal to 50% of the widget’s height will be created.

This is a logical limitation in text processing. I decided to work around it by using SVerticalBox, using many of SRichTextBlock, and putting widgets in between them.

tags