* Added scrolling to the game dialog area. Some more GUI resizing. Removed some unwanted borders of viewports.

This commit is contained in:
LevelX2 2016-03-05 21:00:55 +01:00
parent d2ff6e3783
commit dd9431c8ea
10 changed files with 388 additions and 406 deletions

View file

@ -99,11 +99,14 @@ public class PlayersChatPanel extends javax.swing.JPanel {
jScrollPaneTalk.setOpaque(false);
jScrollPaneSystem.getViewport().setOpaque(false);
jScrollPaneSystem.setViewportBorder(null);
colorPaneSystem.setExtBackgroundColor(new Color(0, 0, 0, CHAT_ALPHA)); // Alpha = 255 not transparent
colorPaneSystem.setBorder(new EmptyBorder(5, 5, 5, 5));
if (jScrollPanePlayers != null) {
jScrollPanePlayers.setBackground(new Color(0, 0, 0, CHAT_ALPHA));
jScrollPanePlayers.getViewport().setBackground(new Color(0, 0, 0, CHAT_ALPHA));
jScrollPanePlayers.setViewportBorder(null);
}
}