Browse Source

Reduced the minimum height of PopupMenu ItemComponent from 2 to 1

tags/2021-05-28
ed 8 years ago
parent
commit
37cf001599
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_gui_basics/menus/juce_PopupMenu.cpp

+ 1
- 1
modules/juce_gui_basics/menus/juce_PopupMenu.cpp View File

@@ -87,7 +87,7 @@ struct ItemComponent : public Component
int itemW = 80;
int itemH = 16;
getIdealSize (itemW, itemH, standardItemHeight);
setSize (itemW, jlimit (2, 600, itemH));
setSize (itemW, jlimit (1, 600, itemH));
addMouseListener (&parent, false);
}


Loading…
Cancel
Save