Skip to content

Commit ee9d188

Browse files
committed
added drop shadow for content field title bar
1 parent d201554 commit ee9d188

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/main/kotlin/com/spoiligaming/generator/gui/element/CommonElement.kt

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,13 @@ class CommonElement {
5656
)
5757
setMaxSize(410.0, 35.0)
5858
setMinSize(410.0, 35.0)
59-
effect = DropShadow().apply { // Maple Lite shadow effect
60-
color = Color.color(0.0, 0.0, 0.0, 0.5)
61-
radius = 10.0
62-
offsetX = 0.0
63-
offsetY = 1.0
64-
}
59+
effect =
60+
DropShadow().apply { // Maple Lite shadow effect
61+
color = Color.color(0.0, 0.0, 0.0, 0.5)
62+
radius = 10.0
63+
offsetX = 0.0
64+
offsetY = 0.5
65+
}
6566
children.add(
6667
Label(contentFieldTitle).apply {
6768
style = "-fx-text-fill: ${ColorPalette.accentColor}; -fx-font-family: '${ResourceHandler.comfortaaBold.family}'; -fx-font-size: 14;"

0 commit comments

Comments
 (0)