#Scrolling in an EntryListWidget

1 messages ยท Page 1 of 1 (latest)

naive dragon
#

does it not show a scroll bar?

mental river
#

no it doesn't

#

maybe i'm just doing it wrong

naive dragon
#

show your code

mental river
naive dragon
#

make sure things are not being rendered outside of screen bounds

#

this is 1.20.4 and it actually doesn't seem like anything is out of bounds

mental river
#

this is how i see it in game. and if there's nothing rendered out of bounds, it still doesnt show the scroll bar. 1.20.1

naive dragon
#

the code you gave me doesn't seem to give the same result

#

scrolling usually doesn't need anything special. the moment entries go beyond list height a scroll bar should appear

#

add like 100 entries and see

mental river
#

i can now scroll, but it's broken, some entries disappear for some reason.

naive dragon
#

check height width top bottom

#

you're probably dealing with some bad value

#

change those to smaller values

mental river
#

i lowered the height of every entry and removed the adjustment code and it now works

#

ty

naive dragon
#

๐Ÿ‘๐Ÿฝ

mental river
#

one more thing, is there a way to move the scroll bar?