[^kb] 300px max lookup size -> 500px

This commit is contained in:
peter
2012-04-18 13:06:47 +02:00
parent 0808cc0b31
commit 5da15f18fe
@@ -1535,7 +1535,7 @@ public class LookupImpl extends LightweightHint implements LookupEx, Disposable
if (!myResizePending) {
Dimension preferredSize = preferredLayoutSize(null);
if (preferredSize.width != size.width) {
UISettings.getInstance().MAX_LOOKUP_WIDTH = Math.max(300, size.width);
UISettings.getInstance().MAX_LOOKUP_WIDTH = Math.max(500, size.width);
}
int listHeight = myList.getLastVisibleIndex() - myList.getFirstVisibleIndex() + 1;