Some minor fixes
Co-authored-by: delvh <dev.lh@web.de>
This commit is contained in:
parent
1e4fbb8fac
commit
60dd4b6152
@ -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; }
|
||||||
|
@ -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 {
|
||||||
|
@ -82,4 +82,3 @@
|
|||||||
-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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user