You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently, Components have to extend from Parent which makes it impossible to use classes like ImageView or Shape as the main component class as they don't extend from Parent.
Describe the solution you'd like
Lowering the requirement for components to extend Node instead of Parent would resolve this problem.
This would require some tweaks to show als the Scene only takes Parents as a parameter.
Describe alternatives you've considered
The classes not extending from parent could be wrapped in a parent, but this requires boilerplate.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Currently, Components have to extend from
Parent
which makes it impossible to use classes likeImageView
orShape
as the main component class as they don't extend from Parent.Describe the solution you'd like
Lowering the requirement for components to extend
Node
instead ofParent
would resolve this problem.This would require some tweaks to
show
als theScene
only takesParent
s as a parameter.Describe alternatives you've considered
The classes not extending from parent could be wrapped in a parent, but this requires boilerplate.
The text was updated successfully, but these errors were encountered: