Skip to content

Commit

Permalink
added drop shadow for content field title bar
Browse files Browse the repository at this point in the history
  • Loading branch information
SpoilerRules committed May 24, 2024
1 parent d201554 commit ee9d188
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,13 @@ class CommonElement {
)
setMaxSize(410.0, 35.0)
setMinSize(410.0, 35.0)
effect = DropShadow().apply { // Maple Lite shadow effect
color = Color.color(0.0, 0.0, 0.0, 0.5)
radius = 10.0
offsetX = 0.0
offsetY = 1.0
}
effect =
DropShadow().apply { // Maple Lite shadow effect
color = Color.color(0.0, 0.0, 0.0, 0.5)
radius = 10.0
offsetX = 0.0
offsetY = 0.5
}
children.add(
Label(contentFieldTitle).apply {
style = "-fx-text-fill: ${ColorPalette.accentColor}; -fx-font-family: '${ResourceHandler.comfortaaBold.family}'; -fx-font-size: 14;"
Expand Down

0 comments on commit ee9d188

Please sign in to comment.