Jump to content

[0.29.6] Unscrollable combo box


Rinart73

Recommended Posts

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.

avorion-combo-box-bug.jpg.22f2102df302f39176460546540559c7.jpg

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...