From 54da44e0d0ed62412180993745b64a90cdd25d00 Mon Sep 17 00:00:00 2001 From: Bane Stojkovic Date: Mon, 12 Dec 2022 01:17:17 +0100 Subject: [PATCH] Show component values in the project explorer --- .../src/org/diylc/swing/plugins/explorer/ExplorerPane.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/diylc/diylc-swing/src/org/diylc/swing/plugins/explorer/ExplorerPane.java b/diylc/diylc-swing/src/org/diylc/swing/plugins/explorer/ExplorerPane.java index 999983e4..b2690ce2 100644 --- a/diylc/diylc-swing/src/org/diylc/swing/plugins/explorer/ExplorerPane.java +++ b/diylc/diylc-swing/src/org/diylc/swing/plugins/explorer/ExplorerPane.java @@ -100,7 +100,7 @@ public class ExplorerPane extends JPanel { add(getSortBox(), gbc); - setPreferredSize(new Dimension(180, 200)); + setPreferredSize(new Dimension(240, 200)); } public JLabel getTitleLabel() { @@ -370,7 +370,7 @@ public class ExplorerPane extends JPanel { int layerId = (int)Math.round(componentType.getZOrder()); - renderer.setText(String.format("[L%s] %s", layerId, value.getName())); + renderer.setText(String.format("[L%s] %s (%s)", layerId, value.getName(), value.getValueForDisplay())); return renderer; }