Page MenuHomeFeedback Tracker

ListNBox scroll bar doesn't update on resize
New, NormalPublic

Description

If you reduce the height of a ListNBox control the scroll bar doesn't update to match it. This results in rows being hidden beneath the height of the scroll bar.
The same/similar issue was resolved for the ComboBox control last November.
https://forums.bohemia.net/forums/topic/140837-development-branch-changelog/?do=findComment&comment=3423470

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Controls
Steps To Reproduce
  1. Create ListNBox control with modified rowHeight property
  2. Set the control position
  3. Set the position again with reduced height
  4. Add enough rows to show the scroll bar and observe you can't scroll to view them all
Additional Information

Repro mission. Scroll wheel to open display.
Creates ListNBox control, resizes, then adds 40 rows. You can only scroll to the first 30 of them, but you can press arrow down key scroll to the rest out of view.

Event Timeline

_connor created this task.Jan 14 2021, 11:45 AM