merge pull-request 14
This commit is contained in:
commit
3e4570becc
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue