Fabric API

Fabric API

106M Downloads

Long gamerule names get hidden by enum buttons

Pyrofab opened this issue ยท 2 comments

commented

image
The boolean gamerule's name gets wrapped properly, but not the enum gamerule's.

One fix could be to change the way text is wrapped to account for the bigger size of enum buttons, but that would require either a mixin to NamedRuleWidget or a copy-paste of drawName.

commented

Oops didn't mean to close

commented

We could just return the enum button to normal size.

There is a limitation with Minecraft's list widget. We cannot just go to double height entries for the rule widget from what I see. We could just add two entries but that is hacky.