Search code examples
javajavafxfxmlscenebuildergluon

how to import image in scene builder and retain its resolution


enter image description here

I opened a gluon project and started to design a login page. I want to upload an image on an anchor pane as a background of the login page, but the image is blurred and it lost its resolution. What can i do to correct this.


Solution

  • When you download an image go to properties and under the details check the dimensions if they fit your anchor pane and don’t confuse between pixels and centimeters