kodepiko 38 Posted November 30, 2015 Share Posted November 30, 2015 (edited) Hello devs! I got a little problem with listboxex (listbox with slider), It doesnt matter how much height I set, it still appears 10 elements of my list (my list is 20+ elements long), if I use slider it shows me other elements, but I want to extend amount of showing elements at one time, anyone know how to do it? Python code: http://pastebin.com/knu6bEKA Edited August 24, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
Shang 369 Posted November 30, 2015 Share Posted November 30, 2015 On class Component: http://pastebin.com/1jtGDwiG ListBox.SetViewItemCount(10) Change 10 with your value. 1 Link to comment Share on other sites More sharing options...
kodepiko 38 Posted November 30, 2015 Author Share Posted November 30, 2015 5 minutes ago, Shang said: On class Component: http://pastebin.com/1jtGDwiG ListBox.SetViewItemCount(10) Change 10 with your value. Thank you, it works! That simply and I missed this setting function, it must be somewhere deeper than component.py (there isn't used) Anyway thread solved. 1 Link to comment Share on other sites More sharing options...
Shang 369 Posted November 30, 2015 Share Posted November 30, 2015 31 minutes ago, kodepiko said: Thank you, it works! That simply and I missed this setting function, it must be somewhere deeper than component.py (there isn't used) Anyway thread solved. You have to see ui.py to view full object. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now