You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
486 B
17 lines
486 B
package wow.doge.chatto.control
|
|
|
|
import javafx.scene.layout.HBox
|
|
import javafx.scene.control.Label
|
|
import scalafx.Includes._
|
|
import wow.doge.chatto.controller.ChatData
|
|
|
|
class UserBox2(val username: String, val chatData: ChatData) extends HBox() {
|
|
val usernameLabel = new Label(username) {
|
|
// this.style = "-fx-text-fill: white"
|
|
this.styleClass ++= Seq("text-white")
|
|
}
|
|
// lazy val chatDataBean = FXBean[ChatData](chatData)
|
|
this.children ++= Seq {
|
|
usernameLabel
|
|
}
|
|
}
|