Popup items minimum width


#1

Hi, i use this code.

popup.showMenuAsync(PopupMenu::Options().withMinimumWidth(250), ModalCallbackFunction::forComponent(POPUPFUNC, this, 1));

withMinimumWidth apply only for first column, how apply minimum width for all existing popup items?


#2

IIRC, it might be a minimum width for the entire menu, not the columns, so if you have many of them their size will just be based on their content.

If you have really unusual content, you could always use custom menu components to display them?


#3

custom menu components has solved this problem, thank you