Shan
11/27/2018, 7:56 PM= widthProperty() - customSubtractValue)
, or is there a way to do this without having to create a custom property (if this is even possible 😬)? This is what I'm trying to do, but obviously it will not work as I cannot subtract a .px
val from an observable property. prefWidthProperty().bind(primaryStage.widthProperty() - sideBarWidth)
Shan
11/27/2018, 7:58 PMhGrow = Priority.ALWAYS
it causes animation stuttering as it "grows" while animating, so I need the width value of the new fragment to be a set amount before the animation begins. Thus, my binding dilemma. If there is a better way to do this, please share 😩Ruckus
11/27/2018, 8:01 PM.px
values as JavaFX doesn't have a concept of units while running (it converts all CSS units to equivalent pixel values). If you're working with pixels though, you can just use the double value.