Adjust Selection Color #73

Merged
kske merged 2 commits from selection-color into develop 2020-09-30 21:05:34 +02:00
Showing only changes of commit 1b593c2b19 - Show all commits

View File

@ -32,6 +32,6 @@ public final class MessageListCell extends AbstractListCell<Message, MessageCont
private void adjustPadding(int listWidth, boolean ownMessage) {
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));
}
}