diff --git a/isometric-park-fna/UI/Menu.cs b/isometric-park-fna/UI/Menu.cs --- a/isometric-park-fna/UI/Menu.cs +++ b/isometric-park-fna/UI/Menu.cs @@ -42,7 +42,12 @@ { ImGui.Text(header); - ImGui.SetCursorPosX(width - 520); + + var dimensions = ImGui.CalcTextSize("X Contracts $ Budget X Forest X News X | Pause 1 2 3 4 5") ; + + // ImGui.SetCursorPosX(width - 520); + // Add 12 pixels for each button, plus separator + ImGui.SetCursorPosX(width - (dimensions.X + 11*12)); if (Menu.activeButton("\ue0c2 Contracts", bridgeEngine.windowStatuses[Window.Contracts], StyleSets.selected, StyleSets.white)) {