I need to have a web panel within another web panel and assign the inner one to the TWebMainMenu.

This works fine until it goes into hamburger mode and it doesn't expand properly (cut off).

Is there a way of doing this?




Please note that by default a TWebPanel will clip it's content. The TWebMainMenu will automatically disable clipping for it's parent control but not for controls outside of that.
As a workaround you can set the overflow attribute of the outer panel to visible.


procedure TForm1.WebFormCreate(Sender: TObject);
begin'overflow', 'visible');

We'll have to investigate if this behaviour can be improved in a future version.

Thanks Bart. That works well. When a menu is wrapped onto two lines. Is there anyway to control the distance between the two lines. And/or can the menu be centered vertically within the panel?