Join Slack
Powered by
<@U3M5MCDL7> Nice! In your stylesheet you have dec...
# tornadofx
e
edvin
11/25/2018, 10:52 AM
@carldea
Nice! In your stylesheet you have declared pixel values like this:
strokeWidth = Dimension(2.0, Dimension.LinearUnits.px)
. We have extension functions for those, so you should just write
strokeWidth = 2.px
c
carldea
12/01/2018, 8:38 PM
excellent, will do!😁👍
6
Views
Open in Slack
Previous
Next