Jump to content

Recommended Posts

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

565c72d32a28a.png

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 1
Link to comment
https://metin2.dev/topic/9525-python-listbox-showed-elements-limit-10/
Share on other sites

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.

  • Love 1
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.

  • Love 1

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.