Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions Templates/BaseGame/game/data/UI/guis/ChooseLevelMenu.gui
Original file line number Diff line number Diff line change
Expand Up @@ -82,25 +82,27 @@ $guiContent = new GuiControl(ChooseLevelMenu) {
};
new GuiControl(ChooseLevelMenuNavButtonOverlay) {
position = "0 61";
extent = "1281 60";
horizSizing = "width";
extent = "1280 60";
horizSizing = "center";
profile = "GuiNonModalDefaultProfile";
tooltipProfile = "GuiToolTipProfile";
isContainer = "1";

new GuiBitmapCtrl(ChooseLevelMenuPrevNavIcon) {
BitmapAsset = "UI:Keyboard_Black_Q_image";
position = "485 24";
position = "188 24";
extent = "40 40";
vertSizing = "top";
horizSizing = "right";
profile = "GuiNonModalDefaultProfile";
tooltipProfile = "GuiToolTipProfile";
};
new GuiBitmapCtrl(ChooseLevelMenuNextNavIcon) {
BitmapAsset = "UI:Keyboard_Black_E_image";
position = "595 24";
position = "1050 24";
extent = "40 40";
vertSizing = "top";
horizSizing = "left";
profile = "GuiNonModalDefaultProfile";
tooltipProfile = "GuiToolTipProfile";
};
Expand Down
5 changes: 1 addition & 4 deletions Templates/BaseGame/game/data/UI/guis/ChooseLevelMenu.tscript
Original file line number Diff line number Diff line change
Expand Up @@ -285,10 +285,7 @@ function ChooseLevelMenu::syncGUI(%this)
%btn.setHighlighted(true);

%buttonPosX = %btn.position.x + ChooseLevelMenuTabList.position.x;

ChooseLevelMenuPrevNavIcon.position.x = %buttonPosX;
ChooseLevelMenuNextNavIcon.position.x = %buttonPosX + %btn.extent.x - 40;


ChooseLevelBackBtn.setBitmap(BaseUIActionMap.getCommandButtonBitmap(%device, "BaseUIBackOut"));

if(ChooseLevelMenu.currentMenuIdx == 0)
Expand Down
10 changes: 6 additions & 4 deletions Templates/BaseGame/game/data/UI/guis/GameMenu.gui
Original file line number Diff line number Diff line change
Expand Up @@ -43,25 +43,27 @@ $guiContent = new GuiControl(GameMenu) {
};

new GuiControl(GameMenuNavButtonOverlay) {
extent = "1281 60";
horizSizing = "width";
extent = "1280 60";
horizSizing = "center";
vertSizing = "height";
profile = GuiNonModalDefaultProfile;

new GuiBitmapCtrl(GameMenuPrevNavIcon) {
BitmapAsset = "UI:Keyboard_Black_Q_image";
position = "0 24";
position = "188 24";
extent = "40 40";
profile = GuiNonModalDefaultProfile;
vertSizing = "top";
horizSizing = "right";
};

new GuiBitmapCtrl(GameMenuNextNavIcon) {
BitmapAsset = "UI:Keyboard_Black_E_image";
position = "0 24";
position = "1050 24";
extent = "40 40";
profile = GuiNonModalDefaultProfile;
vertSizing = "top";
horizSizing = "left";
};
};
};
Expand Down
Loading