groostav
01/06/2017, 8:26 AMgroostav
01/06/2017, 8:26 AMgtnarg
01/06/2017, 11:34 AMcarlw
01/06/2017, 2:49 PMpermalmberg
01/06/2017, 2:50 PMgtnarg
01/06/2017, 3:00 PMpaddingAll = 10.0
(it was just added this week I think)carlw
01/06/2017, 3:01 PMgtnarg
01/06/2017, 3:02 PMcarlw
01/06/2017, 3:03 PMpermalmberg
01/06/2017, 3:08 PMgtnarg
01/06/2017, 3:10 PMpermalmberg
01/06/2017, 3:10 PMedvin
01/06/2017, 3:17 PMpaddingXXX
properties I added to support ints. We could also create an insets
builder that supports stuff like insets(5)
, insets(5, 5)
, insets(left = 4, right = 11, top = 42)
etc.permalmberg
01/06/2017, 3:18 PMPasted image at 2017-01-06, 4:18 PM▾
permalmberg
01/06/2017, 3:18 PMpermalmberg
01/06/2017, 3:19 PMpermalmberg
01/06/2017, 3:22 PMgtnarg
01/06/2017, 3:23 PMreturn Point2D( bounds.minX, bounds.minY + (bounds.height/2) )
edvin
01/06/2017, 3:23 PMedvin
01/06/2017, 3:23 PMpermalmberg
01/06/2017, 3:24 PMpermalmberg
01/06/2017, 3:25 PMedvin
01/06/2017, 3:25 PMpaddingTop
properties to Number, so you can see how that works as well. You should be able to do paddingTop = 5
for example, or padding = insets(top = 5)
if you want.gtnarg
01/06/2017, 3:25 PMPlatform.runLater{}
block from the onDock
method. Perhaps @edvin knows of another way?edvin
01/06/2017, 3:26 PMcarlw
01/06/2017, 3:26 PMgtnarg
01/06/2017, 3:26 PMcarlw
01/06/2017, 3:27 PMedvin
01/06/2017, 3:27 PMedvin
01/06/2017, 3:27 PM