Set Envoy logo as stage icon
This commit is contained in:
		@@ -3,6 +3,7 @@ package envoy.client.ui;
 | 
			
		||||
import javafx.application.Application;
 | 
			
		||||
import javafx.fxml.FXMLLoader;
 | 
			
		||||
import javafx.scene.Scene;
 | 
			
		||||
import javafx.scene.image.Image;
 | 
			
		||||
import javafx.scene.layout.GridPane;
 | 
			
		||||
import javafx.stage.Stage;
 | 
			
		||||
 | 
			
		||||
@@ -26,6 +27,7 @@ public final class Startup extends Application {
 | 
			
		||||
		
 | 
			
		||||
		var chatScene = new Scene(anchorPane);
 | 
			
		||||
		primaryStage.setTitle("Envoy");
 | 
			
		||||
		primaryStage.getIcons().add(new Image(getClass().getResourceAsStream("/icons/envoy_logo.png")));
 | 
			
		||||
		primaryStage.setScene(chatScene);
 | 
			
		||||
		primaryStage.show();
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
| 
		 Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB  | 
| 
		 Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB  | 
		Reference in New Issue
	
	Block a user