Custom sidebar section list needs a scrollbar #54532
Labels
[C++]
Changes (can be) made in C++. Previously named `Code`
<Enhancement / Feature>
New features, or enhancements on existing
Info / User Interface
Game - player communication, menus, etc.
Is your feature request related to a problem? Please describe.
When using the "custom" sidebar with more than 22 available "widgets" defined (such as when Magiclysm is in use, and the Mana widgets are included), the list of sections goes outside the bounds of the popup.
Solution you would like.
There is a scrollbar function defined in
src/output.cpp
calleddraw_scrollbar
(a shortcut to creating a scrollbar with theclass scrollbar
), which several other UIs make use of when lists are too long to fit.Making the sidebar section list scrollable in the same way would be the ideal solution.
Describe alternatives you have considered.
Making the popup taller is not a sustainable solution, nor is removing or combining sections. I think a scrollbar is inevitable.
Additional context
The text was updated successfully, but these errors were encountered: