How to reduce the amount of whitespace after a heading

Using #, ##, or ### all result in a huge white space between the Heading and the next field/text.
How can I set this line space to 0?

Hi @Johan_Tuls ,

I suspect you are using separate Text objects to write your header and normal text. Have you tried the following?

class Parametrization(vkt.Parametrization):
    text_intro = vkt.Text("""# Selectie sonderingen
Selecteer in onderstaande lijst de sonderingen die...""")
    first_field = vkt.NumberField("First field")

Ah indeed… that would help. The same question remains, why there is such a huge whitespace if you use different Text() but I will give it a try.

We are having this issue too! Would be great to somehow be able to control this a bit more as sometimes it is really annoying

1 Like