slight gui improvement

This commit is contained in:
Bella 2020-04-12 22:38:43 -04:00
parent e134d865de
commit 19958e055d
No known key found for this signature in database
GPG Key ID: DBD4A6030080C8B3
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ public class RootCheckButtonUI<T extends CheckButton> extends AbstractComponentU
@Override
public void handleAddComponent(CheckButton component, Container container) {
component.setWidth(KamiGUI.fontRenderer.getStringWidth(component.getName()) + 28);
component.setWidth(KamiGUI.fontRenderer.getStringWidth(component.getName()) + 14);
component.setHeight(KamiGUI.fontRenderer.getFontHeight() + 2);
}
}