Page 1 of 1

How to resize backgroungimage?

PostPosted: Thu Oct 19, 2017 4:42 pm
by wellspinto
UIDesktopPanel desktopPanel = new UIDesktopPanel();

UIPanel content = new UIPanel();
UIBorderLayout uiBorderLayout = new UIBorderLayout();
uiBorderLayout.setMargins(2,2,2,2);
content.setLayout(uiBorderLayout);
content.add(desktopPanel, UIBorderLayout.CENTER);

content.setBackgroundImage(UIImage.getImage("mybackgroundimage1024x768.png"),800,600); ????????

reguards,

Re: How to resize backgroungimage?

PostPosted: Fri Oct 20, 2017 9:50 am
by rzenz
I do believe that this is already accurately answered in your two other threads: