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 fe4f9bf219
commit 0901f900e7
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 // Creating the underlying VBox and the dateLabel
final var hbox = new HBox(); final var hbox = new HBox();
if (message.getSenderID() != localDB.getUser().getID() && message instanceof GroupMessage) { if (message.getSenderID() != localDB.getUser().getID() && message instanceof GroupMessage) {
// Displaying the name of the sender in a group
final var label = new Label(); final var label = new Label();
label.getStyleClass().add("groupMemberNames"); label.getStyleClass().add("groupMemberNames");
label.setText(localDB.getUsers() 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 * @since Envoy Client v0.2-beta
*/ */
public static void setLocalDB(LocalDB localDB) { MessageControl.localDB = localDB; } public static void setLocalDB(LocalDB localDB) { MessageControl.localDB = localDB; }

View File

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

View File

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