Dropline submenu without nowing the width

I have a menu, where multiple menu items have submenu items. But for every menu item the number of submenu items is different, so it is very difficult to set a width for the submenu. What would be the best way to accomplisch this? Than you in advance.

Hi,

You don’t need t know the width do you for a dropline?

If that’s what you meant then someone asked a similar question the other day for which I provided a similar solution.