Skip to content

Commit

Permalink
Merge pull request #1584 from OutpostUniverse/improveMineOperationsLa…
Browse files Browse the repository at this point in the history
…yout

Improve `MineOperationsWindow` layout
  • Loading branch information
DanRStevens authored Feb 15, 2025
2 parents 3d8bba3 + dfd247e commit 8a5ac8e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions appOPHD/UI/MineOperationsWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,27 +53,27 @@ MineOperationsWindow::MineOperationsWindow() :
size({375, 270});

// Set up GUI Layout
add(btnIdle, {10, 230});
btnIdle.type(Button::Type::Toggle);
btnIdle.size({60, 30});
add(btnIdle, {10, 230});

add(btnExtendShaft, {72, 230});
btnExtendShaft.size({100, 30});
add(btnExtendShaft, {72, 230});

add(btnOkay, {mRect.size.x - 70, 230});
btnOkay.size({60, 30});
add(btnOkay, {mRect.size.x - 70, 230});

add(btnAssignTruck, {mRect.size.x - 85, 115});
btnAssignTruck.size({80, 20});
btnAssignTruck.size({105, 20});
add(btnAssignTruck, {mRect.size.x - btnAssignTruck.size().x - 10, 115});

add(btnUnassignTruck, {mRect.size.x - 170, 115});
btnUnassignTruck.size({80, 20});
btnUnassignTruck.size({105, 20});
add(btnUnassignTruck, {148, 115});

// ORE TOGGLE BUTTONS
add(chkResources[0], {148, 140});
add(chkResources[1], {259, 140});
add(chkResources[2], {148, 160});
add(chkResources[3], {259, 160});
add(chkResources[1], {148, 160});
add(chkResources[2], {270, 140});
add(chkResources[3], {270, 160});
}


Expand Down

0 comments on commit 8a5ac8e

Please sign in to comment.