Make the main window unresizable, to work better with tiling window managers

This commit is contained in:
comp500 2020-12-13 17:00:35 +00:00
parent 74ddca5d54
commit 1d4c94f5b6

View File

@ -15,6 +15,8 @@ class InstallWindow(private val handler: GUIHandler) : JFrame() {
init { init {
setBounds(100, 100, 493, 95) setBounds(100, 100, 493, 95)
// Works better with tiling window managers - there isn't any reason to change window size currently anyway
isResizable = false
defaultCloseOperation = EXIT_ON_CLOSE defaultCloseOperation = EXIT_ON_CLOSE
setLocationRelativeTo(null) setLocationRelativeTo(null)