Description:
Add approximate adjustment to menubar.
Commit status:
[Not Reviewed]
References:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r355:dea101eaaeda -

@@ -42,7 +42,12
42 {
42 {
43 ImGui.Text(header);
43 ImGui.Text(header);
44
44
45 ImGui.SetCursorPosX(width - 520);
45
46 var dimensions = ImGui.CalcTextSize("X Contracts $ Budget X Forest X News X | Pause 1 2 3 4 5") ;
47
48 // ImGui.SetCursorPosX(width - 520);
49 // Add 12 pixels for each button, plus separator
50 ImGui.SetCursorPosX(width - (dimensions.X + 11*12));
46
51
47 if (Menu.activeButton("\ue0c2 Contracts", bridgeEngine.windowStatuses[Window.Contracts], StyleSets.selected, StyleSets.white))
52 if (Menu.activeButton("\ue0c2 Contracts", bridgeEngine.windowStatuses[Window.Contracts], StyleSets.selected, StyleSets.white))
48 {
53 {
You need to be logged in to leave comments. Login now