blish-hud / Blish-HUD

A Guild Wars 2 overlay with extreme extensibility through compiled modules.
https://blishhud.com
MIT License
320 stars 59 forks source link

Added scrolling for dropdown panel #870

Open Tharylia opened 1 year ago

Tharylia commented 1 year ago

This PR adds scrolling to the dropdown panel.

In the current implementation the dropdown panel shows all items at the same time causing it to go offscreen in some cases.

The new implementation adds the field "PanelHeight" to the dropdown control. The field defines to height which the dropdown panel should occupy. If more items are added as can fit in the panel, a scrollbar will be shown. In the default configuration, nothing changes.

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication