Rinart73 Posted January 11, 2020 Share Posted January 11, 2020 Avorion: 0.29.6 (also probably earlier versions too) 1. Have looong combo box (tried with value combo box) with a bunch of items (for example the goods list) 2. Select something close to the end (like "Warhead") 3. Clear the combo box and add less items to list but include the selected one. 4. Re-select "Warheads" via code. 5. Get the result - unscrollable list, impossible to select something else. UPD: Apparently the source of the problem is that setting index/value of a ValueComboBox/ComboBox doesn't scroll it to the selected item. And if current scrolling position is further than new maximum, the scrolling gets stuck UPD: ListBox has the lighter version of the same problem - once use tries to scroll, the element fixes itself. But still, the problem exists. Suggestion: Make so setting index or value (ValueComboBox) via Lua would forcibly scroll combo box to the selected position. This would solve the issue and make Combo Boxes more user-friendly. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now