Skip to content

planner: adjust "upper" bottom-anchored widget positions (hollow constructions, stair type, engraved slabs, empty cages, weapon count)#5852

Open
ChrisJohnsen wants to merge 1 commit into
DFHack:developfrom
ChrisJohnsen:cj/planner-bottom-anchored-upper-buttons
Open

planner: adjust "upper" bottom-anchored widget positions (hollow constructions, stair type, engraved slabs, empty cages, weapon count)#5852
ChrisJohnsen wants to merge 1 commit into
DFHack:developfrom
ChrisJohnsen:cj/planner-bottom-anchored-upper-buttons

Conversation

@ChrisJohnsen

Copy link
Copy Markdown
Contributor

As reported in Discord, the "Hollow area" UI element in buildingplan's planneroverlay disappeared in 53.15-r2.

It is still there (its hotkey still works, and it is still actually clickable—if you already knew its hotkey and/or where to blind-click), but the divider is being drawn over it.

When 39cc838 added an extra UI row for the "queue order" button, the bottom-anchored UI elements in the upper area of the main_panel were not adjusted to account for the extra line.

The "stair type", "engraved slabs only", "empty cages only", and "weapon count" planner UI elements (all similarly conditional) are affected in the same way.

The commit bumps all the bottom-anchored UI elements in the "upper" portion of the planner overlay up by one UI row.

When, in 39cc838, the main_panel gained
an extra UI line to accommodate the "queue order" hotkey label, the
other bottom-anchored widgets in the upper portion of the main_panel
were not adjusted.

Several of these (conditional) widgets end up being drawn "under" the
divider. They are still present (their hotkeys still work (and they are
still clickable!), but they are not visible).

The inadvertently hidden widgets are:

- the hotkeys (and weapon count) for weapon traps
- the hollow toggle for constructions (walls, floors, etc.)
- the engraved-only toggle for slabs
- the empty-only toggle for (non-trap) cages

The other bottom-anchored "upper" widgets are:

- the slider for weapon traps
- the up/down/up-down/auto selectors for single- and multi-level stairs

Move all these widgets up one UI line to unhide the "hidden" widgets and
preserve their relative vertical layouts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant