java - JavaFX- Don't scale image for stage icon? -


i setting image stage becomes logo javafx application.

stage.geticons().add(new image("mylogo.png")); 

however, image gets scaled , stretched horizontally since not @ ratio likes.

is there way can manipulate image centered in placement, or add margins matches expected ratio?

i don't want create whole new image if can it.


Comments

Popular posts from this blog

xslt - Substring before throwing error -

Google Cloud Bigtable Durability/Availability Guarantees -

Android M doze mode and "native" posix socket freezing up -