Fix bg color

This commit is contained in:
ryoii 2020-03-28 23:03:35 +08:00
parent 92d9e27b04
commit 86cf95f0fb
2 changed files with 3 additions and 1 deletions

View File

@ -38,7 +38,7 @@ class PrimaryStyleSheet : BaseStyleSheet() {
* bot list
*/
rootPane {
child(vBox) {
leftPane {
backgroundColor += c(primaryColor)
// 这个padding有bug十分神奇

View File

@ -30,6 +30,8 @@ class PrimaryView : View() {
left = vbox {
addClass("left-pane")
imageview(Image(PrimaryView::class.java.classLoader.getResourceAsStream("logo.png"))) {
fitHeight = 40.0
alignment = Pos.CENTER