refs #299,#36,#40,#37,#33 closed

This commit is contained in:
2017-01-16 18:44:02 +01:00
parent c3db9d0166
commit f5e50d1164
18 changed files with 174 additions and 88 deletions
+1 -1
View File
@@ -257,7 +257,7 @@ public class PictureCtl {
image.setImage(SOMLayout.LOGO_IMAGE);
// make it fit the height of the Screen
image.setFitWidth(SOMLayout.screenHeight / 2);
// image.setFitWidth(SOMLayout.screenHeight);
// Calculate the offset to center it horizontally if the image is wider than the screen (or narrower)
double aspect = image.getImage().getWidth() / image.getImage().getHeight();