Wider objective editing dialog

This commit is contained in:
Anuken
2024-09-29 12:35:24 -04:00
parent 4f05904b4a
commit 567b515611
3 changed files with 3 additions and 3 deletions

View File

@@ -368,7 +368,7 @@ public class MapObjectivesCanvas extends WidgetGroup{
() -> obj,
res -> {}
);
}).width(400f).fillY()).grow();
}).width(Math.min(Core.graphics.getWidth() * 0.95f / Scl.scl(1f) - Scl.scl(20f), 700f)).fillY()).grow();
dialog.addCloseButton();
dialog.show();

View File

@@ -44,7 +44,7 @@ public class MapObjectivesDialog extends BaseDialog{
name(cont, name, remover, indexer);
if(field != null && field.isAnnotationPresent(Multiline.class)){
cont.area(get.get(), set).height(85f).growX();
cont.area(get.get(), set).height(100f).growX();
}else{
cont.field(get.get(), set).growX();
}