Move SystemComandMap From ChatScene to Its Own Component #74

Merged
delvh merged 5 commits from f/chatscene-commands into develop 2020-10-02 15:23:22 +02:00
4 changed files with 5 additions and 11 deletions
Showing only changes of commit fa1ad52f4c - Show all commits

View File

@ -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));
} }
} }

View File

@ -4,8 +4,10 @@
.context-menu, .context-menu > * { .context-menu, .context-menu > * {
-fx-background-radius: 15.0px; -fx-background-radius: 15.0px;
/*TODO: solution below does not work */ }
-fx-background-color: transparent;
.list-cell:selected, .menu-item:hover {
-fx-background-color: #454c4f;
} }
#text-enter-container, #contact-search-enter-container { #text-enter-container, #contact-search-enter-container {

View File

@ -22,10 +22,6 @@
-fx-background-color: #222222; -fx-background-color: #222222;
} }
.list-cell:selected, .list-cell:selected > *, .menu-item:hover {
-fx-background-color: #690099;
}
.received-message { .received-message {
-fx-background-color: gray; -fx-background-color: gray;
} }

View File

@ -18,10 +18,6 @@
-fx-background-color: #E3E3E3; -fx-background-color: #E3E3E3;
} }
.list-cell:selected, .list-cell:selected > *, .menu-item:hover {
-fx-background-color: #805959;
}
.received-message { .received-message {
-fx-background-color: lightgray; -fx-background-color: lightgray;
} }