how to show the image in total width of the device when the image width is less than the device width?
图像尺寸:宽度 - 1274像素,高度 - 105像素 设备尺寸:宽度 - 1920像素,高度 - 1200像素
enter code here
Image image = Image.createImage("/mainpageheader1.png");
Label appHeader = new Label(image);
appHeader.setUIID("appHeader");
loginForm.addComponent(BorderLayout.NORTH,appHeader);