java - Javafx Mediaview settings according to scene property -


i trying change media view height , width according media player window. please tell me how can adding scene.setonzoom().

in order re-size mediaview along scene, bind fitwidthproperty , fitheightproperty of mediaview scene's widthproperty , heightproperty respectively.

mediaview.fitwidthproperty().bind(scene.widthproperty()); mediaview.fitheightproperty().bind(scene.heightproperty()); 

Comments

Popular posts from this blog

Java 8 + Maven Javadoc plugin: Error fetching URL -

c++ - Msgpack packing bools bug -

java - POJO with list of POJO to JSON display size and index -