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 -

android - How to delete or change the searchview icon inside the SearchView actionBar? -

c++ - Msgpack packing bools bug -