Set up ui controls in 'Details' panel programmatically.
This allows to change ui dynamically according to the clang-format version