haha resize go brr make smoler

This commit is contained in:
woahscam 2021-10-29 17:09:40 -04:00
parent 45fbb3df79
commit 41e98f89d4

View file

@ -74,9 +74,9 @@ object Rs2MapEditor {
statusLabel.foreground = Color.YELLOW
statusBar.add(statusLabel)
bounds = Rectangle(Dimension(1567, 1100))
size.setSize(1567, 1100)
maximumSize = Dimension(1567, 1100)
bounds = Rectangle(Dimension(1567, 850))
size.setSize(1567, 850)
maximumSize = Dimension(1567, 850)
defaultCloseOperation = EXIT_ON_CLOSE
jMenuBar = MenuBar()
mapPanel = MapPane()
@ -307,8 +307,8 @@ object Rs2MapEditor {
init {
// Scroll bar
val scrollFrame = JScrollPane(mapPanel)
scrollFrame.maximumSize = Dimension(1300, 980)
scrollFrame.preferredSize = Dimension(1300, 980)
scrollFrame.maximumSize = Dimension(1300, 700)
scrollFrame.preferredSize = Dimension(1300, 700)
add(scrollFrame, BorderLayout.CENTER)
}
}