a = findChildren(mainWindow(), text=“All Modules”)[0] a.menu().setStyleSheet(“QMenu { menu-scrollable: 1; }”)