QFormLayout visible spacing when hiding lines
As title says, I'm facing a problem when using QFormLayout.
I want to hide some lines of the layout according to a checkbox state.
It should have been a piece of cake but the spacing of the hidden lines remains as they are hidden, resulting in an ugly UI.
I found an old reference to the same problem (follow the link below to see it).
And this is the new link to the recorded "bug" in the bugs database.
Does anyone know of a solution/workaround for this behaviour?
Thanks in advance and may the code be with you ^_^