修改图片大小

This commit is contained in:
liwen
2021-02-18 11:12:56 +08:00
parent 4ff6168a46
commit 24f6043782
15 changed files with 3 additions and 1 deletions

View File

@@ -16,6 +16,8 @@
<maven.compiler.target>8</maven.compiler.target>
<feign.version>10.9</feign.version>
<java.version>1.8</java.version>
<jfoenix.version>8.0.10</jfoenix.version>
<datafx.version>8.0.2</datafx.version>
</properties>

View File

@@ -253,7 +253,7 @@ public class LoginController {
@SneakyThrows
private void loadingImage() {
ImageView logBack = new ImageView("/images/login.jpg");
ImageView logBack = new ImageView("/images/login.png");
logBack.fitHeightProperty().bind(imageHeiht);
logBack.fitWidthProperty().bind(imageWidth);
imagePane.getChildren().add(new Label("", logBack));

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 MiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 MiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.6 MiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 MiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 MiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 MiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 MiB

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 MiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 MiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 MiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 MiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB