According to https://stackoverflow.com/questions/21656500/adding-scrollbars-to-qdockwidgets-area we could make the root widget of the left and right QDockWidgets a QScrollArea and populate that ScrollArea in our tool management logic instead of the QDockWidget and solve this bug for all tools.