ScriptUI P. 67 "Scrolling panels and groups" – scrollGroup.size.height limited?
Hello you guys,
my project is to throw a snazzy dialog with a little info about my exports from my script. Since the listbox can hold images, but cant scale just crop, i had to try something different.
Therfor i was trying out Peters/Vlad Vladila's approach: To scroll the view on a panel.
Everything went well, until i filled my array with 9 pictures instead of 3…
Is it possible that panels or the underlying layoutmanager has problems with values above 1450?
scrollGroup.size.height cant extend 1450, so my list gets cropped ![]()
First screenshot: Everything is fine with 3 entries
Second Screenshot: Entry 4 gets cropped
Third: I extended the scrollbars max to scroll below…its definitly cropped 🙂
Does anyone know to fix this / work around / scale images in a listbox?



---
Guten Tag,
ich wusel mich durch Peter Kahrels ScriptUI. Projekt ist eine Übersicht über die zuvor exportierten JPGs zu basteln. Mein erster Ansatz über eine listbox lief ins Leere, da Bilder in der Listbox wohl nicht skaliert werden können.
Deswegen verfolge ich jetzt den Ansatz von S.67->69 "Scrolling panels and groups". Alles lief perfekt, bis ich mein Array mit mehr als 3 Testdateien gefüllt habe:
Kann es sein, dass im Hintergrund der Layoutmanager nur eine endliche Größe berechnen kann? Komischerweise bleibt scrollGroup.size.height auf 1450 stehen, auch wenn ich die Gruppe eigentlich länger haben muss…