trackeditor: fix terrain properties sizes

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9326 30fe4595-0a0c-4342-8851-515496e4dcbd
This commit is contained in:
iobyte 2024-02-19 01:41:14 +00:00
parent 17e0a46101
commit 35d222e77c
5 changed files with 11 additions and 11 deletions

View File

@ -77,7 +77,7 @@ public class GraphicObjectProperties extends PropertyPanel
if (graphicObjectTablePanel == null) if (graphicObjectTablePanel == null)
{ {
graphicObjectTablePanel = new GraphicObjectTablePanel(graphicObjects); graphicObjectTablePanel = new GraphicObjectTablePanel(graphicObjects);
graphicObjectTablePanel.setBounds(10, 10, 485, 314); graphicObjectTablePanel.setBounds(10, 10, 485, 341);
} }
return graphicObjectTablePanel; return graphicObjectTablePanel;
} }

View File

@ -81,7 +81,7 @@ public class ObjectMapProperties extends PropertyPanel
{ {
tabbedPane = new JTabbedPane(); tabbedPane = new JTabbedPane();
tabbedPane.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT); tabbedPane.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT);
tabbedPane.setBounds(10, 10, 487, 280); tabbedPane.setBounds(10, 10, 487, 307);
Vector<ObjectMap> objectMaps = getEditorFrame().getObjectMaps(); Vector<ObjectMap> objectMaps = getEditorFrame().getObjectMaps();
@ -99,7 +99,7 @@ public class ObjectMapProperties extends PropertyPanel
if (addObjectMapButton == null) if (addObjectMapButton == null)
{ {
addObjectMapButton = new JButton(); addObjectMapButton = new JButton();
addObjectMapButton.setBounds(10, 300, 130, 25); addObjectMapButton.setBounds(10, 327, 130, 25);
addObjectMapButton.setText("Add Object Map"); addObjectMapButton.setText("Add Object Map");
addObjectMapButton.addActionListener(new java.awt.event.ActionListener() addObjectMapButton.addActionListener(new java.awt.event.ActionListener()
{ {
@ -122,7 +122,7 @@ public class ObjectMapProperties extends PropertyPanel
if (deleteObjectMapButton == null) if (deleteObjectMapButton == null)
{ {
deleteObjectMapButton = new JButton(); deleteObjectMapButton = new JButton();
deleteObjectMapButton.setBounds(155, 300, 140, 25); deleteObjectMapButton.setBounds(155, 327, 140, 25);
deleteObjectMapButton.setText("Delete Object Map"); deleteObjectMapButton.setText("Delete Object Map");
deleteObjectMapButton.addActionListener(new java.awt.event.ActionListener() deleteObjectMapButton.addActionListener(new java.awt.event.ActionListener()
{ {
@ -417,7 +417,7 @@ public class ObjectMapProperties extends PropertyPanel
if (objectTablePanel == null) if (objectTablePanel == null)
{ {
objectTablePanel = new ObjectTablePanel(objectMap); objectTablePanel = new ObjectTablePanel(objectMap);
objectTablePanel.setBounds(10, 64, 465, 180); objectTablePanel.setBounds(10, 64, 465, 207);
} }
return objectTablePanel; return objectTablePanel;
} }

View File

@ -52,7 +52,7 @@ public class ReliefProperties extends PropertyPanel
{ {
tabbedPane = new JTabbedPane(); tabbedPane = new JTabbedPane();
tabbedPane.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT); tabbedPane.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT);
tabbedPane.setBounds(10, 10, 487, 280); tabbedPane.setBounds(10, 10, 487, 307);
Reliefs reliefs = getEditorFrame().getReliefs(); Reliefs reliefs = getEditorFrame().getReliefs();
@ -69,7 +69,7 @@ public class ReliefProperties extends PropertyPanel
if (addReliefButton == null) if (addReliefButton == null)
{ {
addReliefButton = new JButton(); addReliefButton = new JButton();
addReliefButton.setBounds(10, 300, 130, 25); addReliefButton.setBounds(10, 327, 130, 25);
addReliefButton.setText("Add Releif"); addReliefButton.setText("Add Releif");
addReliefButton.addActionListener(new java.awt.event.ActionListener() addReliefButton.addActionListener(new java.awt.event.ActionListener()
{ {
@ -100,7 +100,7 @@ public class ReliefProperties extends PropertyPanel
if (deleteReliefButton == null) if (deleteReliefButton == null)
{ {
deleteReliefButton = new JButton(); deleteReliefButton = new JButton();
deleteReliefButton.setBounds(155, 300, 140, 25); deleteReliefButton.setBounds(155, 327, 140, 25);
deleteReliefButton.setText("Delete Relief"); deleteReliefButton.setText("Delete Relief");
deleteReliefButton.addActionListener(new java.awt.event.ActionListener() deleteReliefButton.addActionListener(new java.awt.event.ActionListener()
{ {
@ -188,7 +188,7 @@ public class ReliefProperties extends PropertyPanel
if (reliefTablePanel == null) if (reliefTablePanel == null)
{ {
reliefTablePanel = new ReliefTablePanel(vertices); reliefTablePanel = new ReliefTablePanel(vertices);
reliefTablePanel.setBounds(10, 64, 465, 180); reliefTablePanel.setBounds(10, 64, 465, 207);
} }
return reliefTablePanel; return reliefTablePanel;
} }

View File

@ -467,7 +467,7 @@ public class TerrainProperties extends PropertyPanel
{ {
tabbedPane = new JTabbedPane(); tabbedPane = new JTabbedPane();
tabbedPane.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT); tabbedPane.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT);
tabbedPane.setBounds(10, 393, 510, 362); tabbedPane.setBounds(10, 393, 510, 389);
tabbedPane.addTab("Objects", null, new GraphicObjectProperties(getEditorFrame())); tabbedPane.addTab("Objects", null, new GraphicObjectProperties(getEditorFrame()));
tabbedPane.addTab("Object Maps", null, new ObjectMapProperties(getEditorFrame())); tabbedPane.addTab("Object Maps", null, new ObjectMapProperties(getEditorFrame()));

View File

@ -34,7 +34,7 @@ public class Properties
private static Properties instance = new Properties(); private static Properties instance = new Properties();
private Vector<ActionListener> propertiesListeners = new Vector<ActionListener>(); private Vector<ActionListener> propertiesListeners = new Vector<ActionListener>();
public final String title = "sd2-trackeditor"; public final String title = "sd2-trackeditor";
public final String version = "1.4.45"; public final String version = "1.4.46";
private String path; private String path;
private double imageScale = 1; private double imageScale = 1;