edvin
08/22/2017, 1:05 PMedvin
08/22/2017, 1:05 PM-Bcategory=...
as a javapackagerOptions
entry 🙂pike
08/22/2017, 1:26 PMedvin
08/22/2017, 3:34 PMMarcin Wisniowski
08/22/2017, 10:34 PMcreateLabel()
method, and I am doing root = vbox { style {/**/} createLabel() }
That doesn't add the label, what am I doing wrong?Marcin Wisniowski
08/22/2017, 10:37 PMthis += createLabel()
pike
08/23/2017, 12:07 AMedvin
08/23/2017, 6:09 AMedvin
08/23/2017, 6:10 AMpike
08/23/2017, 6:11 AMedvin
08/23/2017, 6:13 AMtextfield
builder and then adding an extension function that adds the context menu and styling. The only reason for not using the textfield
builder is if you're instance is not the JavaFX TextField.pike
08/23/2017, 6:14 AMpike
08/23/2017, 6:15 AMedvin
08/23/2017, 6:15 AMfun TextField.addMyCustomMenuAndStyling() { }
. Inside the function, this
would be the TextField.edvin
08/23/2017, 6:16 AMtextfield { addMyCustomMenuAndStyling() }
. Oh, and dream up a more sexy word for that function 😁pike
08/23/2017, 6:16 AMpike
08/23/2017, 6:16 AMedvin
08/23/2017, 6:17 AMpike
08/23/2017, 6:18 AMpike
08/23/2017, 6:24 AMpike
08/23/2017, 6:27 AMedvin
08/23/2017, 11:02 AMron
08/23/2017, 11:18 AManujkrvaish
08/23/2017, 12:04 PMhttp://i.imgur.com/R3RumAv.png▾
http://i.imgur.com/1fEMcWe.png▾
edvin
08/23/2017, 12:17 PManujkrvaish
08/23/2017, 12:17 PMedvin
08/23/2017, 12:27 PManujkrvaish
08/23/2017, 12:27 PMedvin
08/23/2017, 4:10 PMby
is not reserved for all uses. This works: infix fun <http://Number.by|Number.by>(that: Number): Point2D = Point2D(this.toDouble(), that.toDouble())