Disable resizable button

Why this button if there is not a scalable design?
This commit is contained in:
Yaroslavik 2018-10-18 18:20:04 +02:00 committed by GitHub
parent 830786614f
commit 35862d7c11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,6 +15,9 @@ var LauncherApp = Java.extend(JSApplication, {
stage = primaryStage; stage = primaryStage;
stage.setTitle(config.title); stage.setTitle(config.title);
// Disable resizable button
stage.setResizable(false);
// Set icons // Set icons
for each (var icon in config.icons) { for each (var icon in config.icons) {
var iconURL = Launcher.getResourceURL(icon).toString(); var iconURL = Launcher.getResourceURL(icon).toString();