Removed the QGridLayout and use QFormLayout instead.
It doesn't resolve the problem of empty space when hiding knobs.