diff --git a/resources/qml/Menus/MaterialBrandSubMenu.qml b/resources/qml/Menus/MaterialBrandSubMenu.qml index af7e6cfb0e..1cd9d04b5c 100644 --- a/resources/qml/Menus/MaterialBrandSubMenu.qml +++ b/resources/qml/Menus/MaterialBrandSubMenu.qml @@ -81,6 +81,10 @@ Popup materialBrandSubMenu.width = mainWindow.width; } } + + + // This function can cause the scrollbar.width to update but this won't update the width (bug?) so it is done explicitly here. + width = scrollViewContent.width + scrollbar.width + leftPadding + rightPadding } padding: background.border.width