Unsolved QFormLayout visible spacing when hiding lines
-
Hi all,
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).Re: Layout spacing when widgets are hidden
And this is the new link to the recorded "bug" in the bugs database.
https://bugreports.qt.io/browse/QTBUG-6864
Does anyone know of a solution/workaround for this behaviour?
Thanks in advance and may the code be with you ^_^