diff --git a/src/FbTk/Menu.cc b/src/FbTk/Menu.cc index 0a7c20a3..333a609d 100644 --- a/src/FbTk/Menu.cc +++ b/src/FbTk/Menu.cc @@ -430,6 +430,8 @@ void Menu::updateMenu() { m_item_w = std::max(iw, m_item_w); } + // the menu width should be as wide as the widest menu item + w = m_item_w; // calculate needed columns m_columns = 0;