edvin
10/19/2016, 7:56 AMron
10/19/2016, 7:56 AMedvin
10/19/2016, 7:56 AMron
10/19/2016, 7:56 AMedvin
10/19/2016, 7:57 AMron
10/19/2016, 7:57 AMron
10/19/2016, 7:57 AMron
10/19/2016, 7:57 AMron
10/19/2016, 7:57 AMron
10/19/2016, 7:58 AMedvin
10/19/2016, 7:59 AMron
10/19/2016, 7:59 AMedvin
10/19/2016, 8:01 AMron
10/19/2016, 8:02 AMron
10/19/2016, 8:02 AMedvin
10/19/2016, 8:02 AMslicky
10/19/2016, 8:30 AMcarlw
10/19/2016, 10:39 AMedvin
10/19/2016, 11:01 AMedvin
10/19/2016, 11:02 AMedvin
10/19/2016, 1:36 PMslicky
10/19/2016, 1:48 PMjchildress
10/19/2016, 1:55 PMedvin
10/19/2016, 1:56 PMjchildress
10/19/2016, 1:57 PMRuckus
10/19/2016, 2:13 PMunsafe("-fx-background-color", raw("black, -fx-base"))
it will render as
-fx-background-color: black, -fx-base;
Ruckus
10/19/2016, 2:15 PMRuckus
10/19/2016, 2:18 PMunsafe
is a way to set a property to any value. The value passed in will still be processed for proper CSS representation (so you can, for example, pass in a color and it will render properly), so to bypass that you use raw
which basically says "render exactly this string".)Ruckus
10/19/2016, 2:21 PMval bg by cssproperty<MultiValue<Paint>>("-fx-background-color")
Then the the above could be written
unsafe(bg, raw("black, -fx-base"))
slicky
10/19/2016, 2:55 PM