-
-
Notifications
You must be signed in to change notification settings - Fork 54
Description
the list is hardcoded to be 20 units tall because of this call to the super constructor in ListEntryWidget.java
super(entryWidget.getDimension().withHeight(Math.min(entryWidget.getDimension().height(), 20) - ((listOptionEntry.parentGroup().indexOf(listOptionEntry) == listOptionEntry.parentGroup().options().size() - 1) ? 0 : 2))); // -2 to remove the padding
The issue is that you cannot make the height larger than 20 Math.min(entryWidget.getDimension().height(), 20)
The list itself appears to support different sizes as the UI uses the height of the entry, but the height of the list entries cannot be changed without using internal methods.
It may be possible that it was supposed to be Math.max() since 20 is the hardcoded size of the buttons
Edit: forgot to mention this is for version 3.8.0+1.21.9-fabric