forked from External/mage
* Added scrolling to the game dialog area. Some more GUI resizing. Removed some unwanted borders of viewports.
This commit is contained in:
parent
d2ff6e3783
commit
dd9431c8ea
10 changed files with 388 additions and 406 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue