Skip to content

Commit

Permalink
"closebutton" -> "closeButton"
Browse files Browse the repository at this point in the history
  • Loading branch information
SKeeneCode committed Apr 1, 2021
1 parent f751294 commit c21c5ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/tornadofx/InternalWindow.kt
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class InternalWindow(icon: Node?, modal: Boolean, escapeClosesWindow: Boolean, c
}
if (closeButton) {
button {
addClass(Styles.closebutton)
addClass(Styles.closeButton)
setOnMouseClicked {
close()
}
Expand All @@ -90,7 +90,7 @@ class InternalWindow(icon: Node?, modal: Boolean, escapeClosesWindow: Boolean, c
val floatingWindowContent by cssclass()
val window by cssclass()
val top by cssclass()
val closebutton by cssclass()
val closeButton by cssclass()
val crossPath = "M7.48 8l3.75 3.75-1.48 1.48L6 9.48l-3.75 3.75-1.48-1.48L4.52 8 .77 4.25l1.48-1.48L6 6.52l3.75-3.75 1.48 1.48z"
}

Expand All @@ -108,7 +108,7 @@ class InternalWindow(icon: Node?, modal: Boolean, escapeClosesWindow: Boolean, c

alignment = Pos.CENTER

closebutton {
closeButton {
padding = box(4.px, 12.px)
backgroundRadius += box(0.px)
backgroundColor += Color.WHITE
Expand Down

0 comments on commit c21c5ab

Please sign in to comment.