From 37d486f6b42795a07dbc198a19a1f06bb23d008e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=F8=EDk?= Date: Fri, 5 Jul 2013 14:16:34 +0200 Subject: [PATCH] Issue #189 Three dots in tree fix --- trunk/src/com/jpexs/decompiler/flash/gui/MainFrame.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/trunk/src/com/jpexs/decompiler/flash/gui/MainFrame.java b/trunk/src/com/jpexs/decompiler/flash/gui/MainFrame.java index 15ae53813..3c5ea9281 100644 --- a/trunk/src/com/jpexs/decompiler/flash/gui/MainFrame.java +++ b/trunk/src/com/jpexs/decompiler/flash/gui/MainFrame.java @@ -671,6 +671,10 @@ public class MainFrame extends AppFrame implements ActionListener, TreeSelection } else { //setToolTipText(null); //no tool tip } + + String tos = value.toString(); + int sw = getFontMetrics(getFont()).stringWidth(tos); + setPreferredSize(new Dimension(18 + sw, 32)); return this; } }; @@ -2011,6 +2015,7 @@ public class MainFrame extends AppFrame implements ActionListener, TreeSelection cnt = swf.deobfuscateIdentifiers(renameType); Main.stopWork(); JOptionPane.showMessageDialog(null, translate("message.rename.renamed").replace("%count%", "" + cnt)); + swf.assignClassesToSymbols(); clearCache(); if (abcPanel != null) { abcPanel.reload();