Skip to content

Commit 447a1cd

Browse files
committed
UI Fix #1
1 parent e3619b1 commit 447a1cd

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

src/TSMapEditor/Config/UI/Windows/CreateNewMapWindow.ini

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,14 @@ PreviousControl=tbBasicHeight
9090
[lblTerrainImage]
9191
$X=getX(lblTheater)
9292
$Y=getY(tbTerrainImage) + 1
93-
Text=Terrain map to import:
93+
Text=Terrain map:
9494

9595
[btnSelectTerrainImage]
9696
$Width=100 - HORIZONTAL_SPACING
9797
$Height=getHeight(tbTerrainImage)
9898
$Y=getY(tbTerrainImage)
9999
$X=getX(tbTerrainImage) + getWidth(tbTerrainImage) + HORIZONTAL_SPACING
100-
Text=Browse
100+
Text=...
101101

102102
[tbHeightmap]
103103
$X=getX(ddTheater)
@@ -108,14 +108,14 @@ PreviousControl=tbTerrainImage
108108
[lblHeightmap]
109109
$X=getX(lblTheater)
110110
$Y=getY(tbHeightmap) + 1
111-
Text=Heightmap to import:
111+
Text=Heightmap:
112112

113113
[btnSelectHeightmap]
114114
$Width=100 - HORIZONTAL_SPACING
115115
$Height=getHeight(tbHeightmap)
116116
$Y=getY(tbHeightmap)
117117
$X=getX(tbHeightmap) + getWidth(tbHeightmap) + HORIZONTAL_SPACING
118-
Text=Browse
118+
Text=...
119119

120120
[tbImportConfig]
121121
$X=getX(ddTheater)
@@ -133,12 +133,12 @@ $Width=100 - HORIZONTAL_SPACING
133133
$Height=getHeight(tbImportConfig)
134134
$Y=getY(tbImportConfig)
135135
$X=getX(tbImportConfig) + getWidth(tbImportConfig) + HORIZONTAL_SPACING
136-
Text=Browse
136+
Text=...
137137

138138
[btnCreate]
139139
$Width=100
140140
$Y=getBottom(tbImportConfig) + EMPTY_SPACE_TOP
141-
$X=EMPTY_SPACE_SIDES
141+
$X=horizontalCenterOnParent()
142142
Text=Create
143143

144144
[btnApplyTerrainImageRatio]

src/TSMapEditor/UI/Windows/MainMenuWindows/CreateNewMapWindow.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,6 @@ public override void Initialize()
8888

8989
ddTheater.SelectedIndex = 0;
9090

91-
tbTerrainImage.Text = "W:\\Games\\C&C\\Maps\\Oresund.png";
92-
9391
CenterOnParent();
9492
}
9593

0 commit comments

Comments
 (0)