diff options
author | Yana Stamcheva <yana@jitsi.org> | 2009-11-03 16:43:25 +0000 |
---|---|---|
committer | Yana Stamcheva <yana@jitsi.org> | 2009-11-03 16:43:25 +0000 |
commit | 4cb9b29fb50c96a70bf878655e24f5c8ef661b1f (patch) | |
tree | 5ddb768fa30c15be1d58b733e11a152a1c75345f /src/net/java/sip/communicator/impl/gui/main/contactlist/ContactListCellRenderer.java | |
parent | 3f5345c8314a1b9b94b3ca39187b917246b90889 (diff) | |
download | jitsi-4cb9b29fb50c96a70bf878655e24f5c8ef661b1f.zip jitsi-4cb9b29fb50c96a70bf878655e24f5c8ef661b1f.tar.gz jitsi-4cb9b29fb50c96a70bf878655e24f5c8ef661b1f.tar.bz2 |
DnD commit reverted by accident the fix for avatar alignment and correct rendering of contact count indicator - fixing this now.
Diffstat (limited to 'src/net/java/sip/communicator/impl/gui/main/contactlist/ContactListCellRenderer.java')
-rw-r--r-- | src/net/java/sip/communicator/impl/gui/main/contactlist/ContactListCellRenderer.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/net/java/sip/communicator/impl/gui/main/contactlist/ContactListCellRenderer.java b/src/net/java/sip/communicator/impl/gui/main/contactlist/ContactListCellRenderer.java index 5ac0693..7c59830 100644 --- a/src/net/java/sip/communicator/impl/gui/main/contactlist/ContactListCellRenderer.java +++ b/src/net/java/sip/communicator/impl/gui/main/contactlist/ContactListCellRenderer.java @@ -117,10 +117,8 @@ public class ContactListCellRenderer this.nameLabel.setPreferredSize(new Dimension(10, 17)); - this.rightLabel.setPreferredSize( - new Dimension(AVATAR_WIDTH, AVATAR_HEIGHT)); this.rightLabel.setFont(rightLabel.getFont().deriveFont(9f)); - this.rightLabel.setHorizontalAlignment(JLabel.CENTER); + this.rightLabel.setHorizontalAlignment(JLabel.RIGHT); this.add(nameLabel, BorderLayout.CENTER); this.add(rightLabel, BorderLayout.EAST); |