From 1bf39922bdf4fd255d7daf4bb409b9b523d0f5b5 Mon Sep 17 00:00:00 2001 From: Joshua Skelton Date: Fri, 17 Apr 2020 08:13:57 -0700 Subject: [PATCH] Adding entity class name as a header to entity properties pane --- .../dungeoneer/editor/ui/PropertiesMenu.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/DelvEdit/src/com/interrupt/dungeoneer/editor/ui/PropertiesMenu.java b/DelvEdit/src/com/interrupt/dungeoneer/editor/ui/PropertiesMenu.java index 8525a0c8..81bcc5f7 100644 --- a/DelvEdit/src/com/interrupt/dungeoneer/editor/ui/PropertiesMenu.java +++ b/DelvEdit/src/com/interrupt/dungeoneer/editor/ui/PropertiesMenu.java @@ -56,6 +56,19 @@ public PropertiesMenu(Skin skin, final EditorFrame editorFrame, final Array 0) { + entityName = nameParts[nameParts.length - 1]; + } + + add(new Label(entityName, EditorUi.mediumSkin)) + .align(Align.left) + .padLeft(-12f); + row(); + // gather all of the fields into groups for (Class oClass : classes) { Field[] fields = oClass.getDeclaredFields();