trackeditor: increase surface combo box width
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8848 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 52cd9a246e7395030603ecd50caf6cb44600dc06 Former-commit-id: 8cb4419d3039807e50d0450da348fa4e56ca22dc
This commit is contained in:
parent
65663c01ae
commit
fdb368128a
5 changed files with 9 additions and 9 deletions
|
@ -546,7 +546,7 @@ public class PitProperties extends PropertyPanel
|
|||
if (surfaceComboBox == null)
|
||||
{
|
||||
surfaceComboBox = new SurfaceComboBox(getEditorFrame(), sideSurfaceVector);
|
||||
surfaceComboBox.setBounds(130, 10, 180, 23);
|
||||
surfaceComboBox.setBounds(130, 10, 200, 23);
|
||||
}
|
||||
return surfaceComboBox;
|
||||
}
|
||||
|
|
|
@ -214,7 +214,7 @@ public class TerrainProperties extends PropertyPanel
|
|||
String surface = getEditorFrame().getTrackData().getGraphic().getTerrainGeneration().getSurface();
|
||||
addSurface(roadSurfaceVector, surface);
|
||||
surfaceComboBox = new SurfaceComboBox(getEditorFrame(), roadSurfaceVector);
|
||||
surfaceComboBox.setBounds(140, 307, 180, 23);
|
||||
surfaceComboBox.setBounds(140, 307, 200, 23);
|
||||
surfaceComboBox.setSelectedItem(surface);
|
||||
}
|
||||
return surfaceComboBox;
|
||||
|
@ -231,7 +231,7 @@ public class TerrainProperties extends PropertyPanel
|
|||
{
|
||||
String[] items = {"none", "yes", "no"};
|
||||
reliefBorderComboBox = new JComboBox<String>(items);
|
||||
reliefBorderComboBox.setBounds(140, 280, 180, 23);
|
||||
reliefBorderComboBox.setBounds(140, 280, 125, 23);
|
||||
}
|
||||
return reliefBorderComboBox;
|
||||
}
|
||||
|
|
|
@ -216,7 +216,7 @@ public class TrackProperties extends PropertyPanel
|
|||
String newSurface = getEditorFrame().getTrackData().getMainTrack().getSurface();
|
||||
addSurface(roadSurfaceVector, newSurface);
|
||||
surfaceComboBox = new SurfaceComboBox(getEditorFrame(), roadSurfaceVector);
|
||||
surfaceComboBox.setBounds(150, 37, 180, 23);
|
||||
surfaceComboBox.setBounds(150, 37, 200, 23);
|
||||
surfaceComboBox.setSelectedItem(newSurface);
|
||||
}
|
||||
return surfaceComboBox;
|
||||
|
@ -349,7 +349,7 @@ public class TrackProperties extends PropertyPanel
|
|||
{
|
||||
addSurface(sideSurfaceVector, side.getSideSurface());
|
||||
sideSurfaceComboBox = new SurfaceComboBox(getEditorFrame(), sideSurfaceVector);
|
||||
sideSurfaceComboBox.setBounds(150, 64, 180, 23);
|
||||
sideSurfaceComboBox.setBounds(150, 64, 200, 23);
|
||||
sideSurfaceComboBox.setSelectedItem(side.getSideSurface());
|
||||
sideSurfaceComboBox.addActionListener(new ActionListener()
|
||||
{
|
||||
|
@ -405,7 +405,7 @@ public class TrackProperties extends PropertyPanel
|
|||
{
|
||||
addSurface(borderSurfaceVector, side.getBorderSurface());
|
||||
borderSurfaceComboBox = new SurfaceComboBox(getEditorFrame(), borderSurfaceVector);
|
||||
borderSurfaceComboBox.setBounds(150, 172, 180, 23);
|
||||
borderSurfaceComboBox.setBounds(150, 172, 200, 23);
|
||||
borderSurfaceComboBox.setSelectedItem(side.getBorderSurface());
|
||||
borderSurfaceComboBox.addActionListener(new ActionListener()
|
||||
{
|
||||
|
@ -460,7 +460,7 @@ public class TrackProperties extends PropertyPanel
|
|||
{
|
||||
addSurface(barrierSurfaceVector, side.getBarrierSurface());
|
||||
barrierSurfaceComboBox = new SurfaceComboBox(getEditorFrame(), barrierSurfaceVector);
|
||||
barrierSurfaceComboBox.setBounds(150, 280, 180, 23);
|
||||
barrierSurfaceComboBox.setBounds(150, 280, 200, 23);
|
||||
barrierSurfaceComboBox.setSelectedItem(side.getBarrierSurface());
|
||||
barrierSurfaceComboBox.addActionListener(new ActionListener()
|
||||
{
|
||||
|
|
|
@ -779,7 +779,7 @@ public class SegmentEditorDlg extends JDialog implements SliderListener
|
|||
if (surfaceComboBox == null)
|
||||
{
|
||||
surfaceComboBox = new SurfaceComboBox(editorFrame, roadSurfaceVector);
|
||||
surfaceComboBox.setBounds(75, 33, 180, 23);
|
||||
surfaceComboBox.setBounds(75, 33, 200, 23);
|
||||
surfaceComboBox.addActionListener(new ActionListener()
|
||||
{
|
||||
public void actionPerformed(ActionEvent e)
|
||||
|
|
|
@ -34,7 +34,7 @@ public class Properties
|
|||
private static Properties instance = new Properties();
|
||||
private Vector<ActionListener> propertiesListeners = new Vector<ActionListener>();
|
||||
public final String title = "sd2-trackeditor";
|
||||
public final String version = "1.1.4";
|
||||
public final String version = "1.1.5";
|
||||
private String path;
|
||||
|
||||
private double imageScale = 1;
|
||||
|
|
Loading…
Reference in a new issue