Use css for testing retina support

This commit is contained in:
Manfred Karrer 2014-09-15 15:23:41 +02:00
parent 6f05579c4b
commit ed52955a19
4 changed files with 6 additions and 3 deletions

View file

@ -20,6 +20,9 @@ lower gradient color on tab: dddddd
-bs-bg-grey: #dddddd;
}
#splash-logo {
-fx-image: url("../../../images/logo_splash.png");
}
/* Splash */
#splash {

View file

@ -269,9 +269,9 @@ public class MainViewCB extends ViewCB<MainPM> {
vBox.setSpacing(10);
vBox.setId("splash");
ImageView logo = ImageUtil.getIconImageView(ImageUtil.SPLASH_LOGO);
logo.setFitWidth(300);
logo.setFitHeight(300);
//ImageView logo = ImageUtil.getIconImageView(ImageUtil.SPLASH_LOGO);
ImageView logo = new ImageView();
logo.setId("splash-logo");
Label subTitle = new Label("The decentralized Bitcoin exchange");
subTitle.setAlignment(Pos.CENTER);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 86 KiB

After

Width:  |  Height:  |  Size: 44 KiB