Skip to content

Commit

Permalink
UI Fix Rampastring#1
Browse files Browse the repository at this point in the history
  • Loading branch information
Multfinite committed Sep 22, 2023
1 parent e3619b1 commit 447a1cd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
12 changes: 6 additions & 6 deletions src/TSMapEditor/Config/UI/Windows/CreateNewMapWindow.ini
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,14 @@ PreviousControl=tbBasicHeight
[lblTerrainImage]
$X=getX(lblTheater)
$Y=getY(tbTerrainImage) + 1
Text=Terrain map to import:
Text=Terrain map:

[btnSelectTerrainImage]
$Width=100 - HORIZONTAL_SPACING
$Height=getHeight(tbTerrainImage)
$Y=getY(tbTerrainImage)
$X=getX(tbTerrainImage) + getWidth(tbTerrainImage) + HORIZONTAL_SPACING
Text=Browse
Text=...

[tbHeightmap]
$X=getX(ddTheater)
Expand All @@ -108,14 +108,14 @@ PreviousControl=tbTerrainImage
[lblHeightmap]
$X=getX(lblTheater)
$Y=getY(tbHeightmap) + 1
Text=Heightmap to import:
Text=Heightmap:

[btnSelectHeightmap]
$Width=100 - HORIZONTAL_SPACING
$Height=getHeight(tbHeightmap)
$Y=getY(tbHeightmap)
$X=getX(tbHeightmap) + getWidth(tbHeightmap) + HORIZONTAL_SPACING
Text=Browse
Text=...

[tbImportConfig]
$X=getX(ddTheater)
Expand All @@ -133,12 +133,12 @@ $Width=100 - HORIZONTAL_SPACING
$Height=getHeight(tbImportConfig)
$Y=getY(tbImportConfig)
$X=getX(tbImportConfig) + getWidth(tbImportConfig) + HORIZONTAL_SPACING
Text=Browse
Text=...

[btnCreate]
$Width=100
$Y=getBottom(tbImportConfig) + EMPTY_SPACE_TOP
$X=EMPTY_SPACE_SIDES
$X=horizontalCenterOnParent()
Text=Create

[btnApplyTerrainImageRatio]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@ public override void Initialize()

ddTheater.SelectedIndex = 0;

tbTerrainImage.Text = "W:\\Games\\C&C\\Maps\\Oresund.png";

CenterOnParent();
}

Expand Down

0 comments on commit 447a1cd

Please sign in to comment.