Fixed Issue#45: Textbox for tooltip is sometimes too small to show all the text

This commit is contained in:
magenoxx 2013-01-07 18:02:45 +04:00
parent c203705535
commit 78e1bb99d9
6 changed files with 56 additions and 22 deletions

View file

@ -193,7 +193,7 @@ public class DeckEditorPanel extends javax.swing.JPanel {
cardSelector.refresh();
}
if (cardInfoPane instanceof CardInfoPane) {
((CardInfoPane)cardInfoPane).setCard(new CardView(card));
((CardInfoPane)cardInfoPane).setCard(new CardView(card), null);
}
hidePopup();
}
@ -206,7 +206,7 @@ public class DeckEditorPanel extends javax.swing.JPanel {
deck.getSideboard().add(CardImpl.createCard(card.getClass()));
}
if (cardInfoPane instanceof CardInfoPane) {
((CardInfoPane)cardInfoPane).setCard(new CardView(card));
((CardInfoPane)cardInfoPane).setCard(new CardView(card), null);
}
hidePopup();
} else if (event.getEventName().equals("remove-main")) {