center trust icons

dbus-notify
Zlatin Balevsky 2022-07-14 21:27:18 +01:00
parent b976314cba
commit e5d92e57a0
No known key found for this signature in database
GPG Key ID: A72832072D525E41
1 changed files with 3 additions and 0 deletions

View File

@ -2,6 +2,8 @@ package com.muwire.gui
import com.muwire.core.trust.TrustLevel
import javax.swing.JLabel
import static com.muwire.gui.Translator.trans
import javax.swing.Icon
@ -18,6 +20,7 @@ class TrustCellRenderer extends DefaultTableCellRenderer {
trusted = new ImageIcon(getClass().getClassLoader().getResource("trusted.png"))
neutral = new ImageIcon(getClass().getClassLoader().getResource("neutral.png"))
distrusted = new ImageIcon(getClass().getClassLoader().getResource("distrusted.png"))
setHorizontalAlignment(CENTER)
}
@Override