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.
15 lines
441 B
15 lines
441 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
|
|
import com.sfxcode.sapphire.core.value.FXBean
|
|
|
|
class UserBox2(val username: String, val chatData: ChatData) extends HBox() {
|
|
val usernameLabel = new Label(username)
|
|
// lazy val chatDataBean = FXBean[ChatData](chatData)
|
|
this.children ++= Seq {
|
|
usernameLabel
|
|
}
|
|
}
|