X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2FTWidget.java;h=b17b73f67b1c49f92c831591a62e5ef8452bd05d;hb=8ab60a33f89f656b71751a45967c79179415f652;hp=2b9d5cc28a17dff4f0b0157197841d7756b25cf3;hpb=5dccc93977b5f3cbde6e791404e5e43ae540ff54;p=fanfix.git diff --git a/src/jexer/TWidget.java b/src/jexer/TWidget.java index 2b9d5cc..b17b73f 100644 --- a/src/jexer/TWidget.java +++ b/src/jexer/TWidget.java @@ -1791,18 +1791,18 @@ public abstract class TWidget implements Comparable { * @param values the possible values for the box, shown in the drop-down * @param valuesIndex the initial index in values, or -1 for no default * value - * @param valuesHeight the height of the values drop-down when it is - * visible + * @param maxValuesHeight the maximum height of the values drop-down when + * it is visible * @param updateAction action to call when a new value is selected from * the list or enter is pressed in the edit field * @return the new combobox */ public final TComboBox addComboBox(final int x, final int y, final int width, final List values, final int valuesIndex, - final int valuesHeight, final TAction updateAction) { + final int maxValuesHeight, final TAction updateAction) { return new TComboBox(this, x, y, width, values, valuesIndex, - valuesHeight, updateAction); + maxValuesHeight, updateAction); } /**