Adjust Selection Color #73
@ -32,6 +32,6 @@ public final class MessageListCell extends AbstractListCell<Message, MessageCont
|
|||||||
|
|
||||||
private void adjustPadding(int listWidth, boolean ownMessage) {
|
private void adjustPadding(int listWidth, boolean ownMessage) {
|
||||||
int padding = 10 + Math.max((listWidth - 1000) / 2, 0);
|
int padding = 10 + Math.max((listWidth - 1000) / 2, 0);
|
||||||
setPadding(ownMessage ? new Insets(0, padding, 6, 0) : new Insets(0, 0, 6, padding));
|
setPadding(ownMessage ? new Insets(3, padding, 3, 0) : new Insets(3, 0, 3, padding));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user