Wider objective editing dialog
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user