The abnormal ModuleSelectorToolBar UI

Hello everyone:
I have modified the qSlicerModuleSelectorToolBar.cxx and the qSlicerModulesMenu.cxx.Then something strange happened.
on some computers the UI is normal.And on some computers the UI is abnormal as this:
image
And when I moved the ModuleSelectorToolBar, it cannot dock in the toolbar:
image
I have already updated the NVIDIA display driver to the lastest version and there’s no intel core display card on this computer.
I think there’s no problem in the modified code because on some other computers the UI is normal.
Any help will be appreciated.

Does the unmodified qSlicerModuleSelectorToolBar work correctly? If yes, then most likely the problem is caused by your changes. Without seeing what you have modified we have no chance of guessing what is wrong with it.