Some minor fixes

Co-authored-by: delvh <dev.lh@web.de>
This commit is contained in:
DieGurke 2020-08-01 17:24:15 +02:00 committed by GitHub
parent 1e4fbb8fac
commit 60dd4b6152
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 4 deletions

View File

@ -65,6 +65,7 @@ public class MessageControl extends Label {
// Creating the underlying VBox and the dateLabel
final var hbox = new HBox();
if (message.getSenderID() != localDB.getUser().getID() && message instanceof GroupMessage) {
// Displaying the name of the sender in a group
final var label = new Label();
label.getStyleClass().add("groupMemberNames");
label.setText(localDB.getUsers()
@ -178,7 +179,7 @@ public class MessageControl extends Label {
}
/**
* @param localDB the localDB
* @param localDB the localDB used by the current user
* @since Envoy Client v0.2-beta
*/
public static void setLocalDB(LocalDB localDB) { MessageControl.localDB = localDB; }

View File

@ -100,7 +100,6 @@
-fx-background-color: transparent;
-fx-border: solid;
-fx-border-width: 0.0 0.0 1.0 0.0;
}
#remainingCharsLabel {

View File

@ -80,6 +80,5 @@
.scroll-bar:vertical .thumb {
-fx-background-color: #707070;
-fx-background-insets : 4.0, 0.0, 0.0;
-fx-background-radius : 2.0em;
-fx-background-radius : 2.0em;
}