gluonhq / scenebuilder

Scene Builder is a visual, drag 'n' drop, layout tool for designing JavaFX application user interfaces.
https://gluonhq.com/products/scene-builder/
Other
748 stars 220 forks source link

SceneBuilder custom controls initialization #422

Open palexdev opened 3 years ago

palexdev commented 3 years ago

Is there a way for custom controls to inform SceneBuilder that some properties should be initialized with certain values?

If not, wouldn't it be a great feature? We could use a constructor annotation for example

luca-domenichini commented 3 years ago

Why not use constructor itself? Why the need for an annotation? Couldn't you initialize those properties in the constructor? Maybe if you provide an use case would be easier to follow up (at least for me..)