6800513: GTK-LaF renders menus incompletely

Reviewed-by: rupashka
This commit is contained in:
Mario Torre 2012-05-25 14:16:50 +02:00
parent 058f95b388
commit aea990be82

View file

@ -826,7 +826,7 @@ public class JPopupMenu extends JComponent implements Accessible,MenuElement {
popupFactory.setPopupType(PopupFactory.LIGHT_WEIGHT_POPUP); popupFactory.setPopupType(PopupFactory.LIGHT_WEIGHT_POPUP);
} }
else { else {
popupFactory.setPopupType(PopupFactory.MEDIUM_WEIGHT_POPUP); popupFactory.setPopupType(PopupFactory.HEAVY_WEIGHT_POPUP);
} }
// adjust the location of the popup // adjust the location of the popup