Recent

Author Topic: Bug in "jImageButton.java"  (Read 2099 times)

ADiV

  • Jr. Member
  • **
  • Posts: 90
    • ADiV Software
Bug in "jImageButton.java"
« on: October 23, 2018, 04:55:14 pm »
Hi guys, after a lot of researching the code of "jImageButton.java" to see that it did not work as it should since it does not adjust the resolution of the image with the screen size, I was trying other components like "jImageView.java" and this one that correctly adjusted the images to the screen size to make the button look the same in different screen resolutions. I saw how "jImageView.java" did it and I copy it in "jImageButton.java" and now if you adjust the size of the button to the screen resolution correctly.

Attached the modified code, greetings.

jmpessoa

  • Hero Member
  • *****
  • Posts: 2297
Re: Bug in "jImageButton.java"
« Reply #1 on: October 23, 2018, 06:08:32 pm »

Commited!!

Thank you!

P.S. 


Just a reminder: for debug purposes and java templates improvements:

https://od.lk/d/Ml8xNjM0NDY2NTdf/How_to_open_LAMW_project_with_AndroidStudio.rtf
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

 

TinyPortal © 2005-2018