mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 11:32:00 -08:00
Merge pull request #3512 from spacemoses/master
Enhancement #3222 - Adding scroll to clipboard import in deck builder
This commit is contained in:
commit
e683a579b3
1 changed files with 2 additions and 1 deletions
|
|
@ -141,7 +141,8 @@ public class DeckImportFromClipboardDialog extends JDialog {
|
||||||
txtDeckList.setMinimumSize(new Dimension(250, 400));
|
txtDeckList.setMinimumSize(new Dimension(250, 400));
|
||||||
txtDeckList.setPreferredSize(new Dimension(550, 400));
|
txtDeckList.setPreferredSize(new Dimension(550, 400));
|
||||||
txtDeckList.setText("// Example:\n//1 Library of Congress\n//1 Cryptic Gateway\n//1 Azami, Lady of Scrolls\n// NB: This is slow as, and will lock your screen :)");
|
txtDeckList.setText("// Example:\n//1 Library of Congress\n//1 Cryptic Gateway\n//1 Azami, Lady of Scrolls\n// NB: This is slow as, and will lock your screen :)");
|
||||||
panel3.add(txtDeckList, new GridBagConstraints(0, 0, 1, 1, 1.0, 0.0,
|
JScrollPane txtScrollableDeckList = new JScrollPane(txtDeckList);
|
||||||
|
panel3.add(txtScrollableDeckList, new GridBagConstraints(0, 0, 1, 1, 1.0, 0.0,
|
||||||
GridBagConstraints.CENTER, GridBagConstraints.BOTH,
|
GridBagConstraints.CENTER, GridBagConstraints.BOTH,
|
||||||
new Insets(0, 0, 0, 0), 0, 0));
|
new Insets(0, 0, 0, 0), 0, 0));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue