<p dir="ltr"><br>
Am 12.01.2016 8:24 nachm. schrieb "karl ramberg" <<a href="mailto:karlramberg@gmail.com">karlramberg@gmail.com</a>>:<br>
><br>
> Ugh,<br>
> Didn't read the question correctly.</p>
<p dir="ltr">:-)<br></p>
<p dir="ltr">><br>
> I see any passive ways scroll delta is updated in the image.</p>
<p dir="ltr">OK,<br>
thanks.</p>
<p dir="ltr">><br>
> Best,<br>
> Karl<br>
><br>
><br>
> On Tue, Jan 12, 2016 at 8:16 PM, karl ramberg <<a href="mailto:karlramberg@gmail.com">karlramberg@gmail.com</a>> wrote:<br>
>><br>
>> sp setScrollDeltas <br>
>><br>
>> Best,<br>
>> Karl<br>
>><br>
>> On Tue, Jan 12, 2016 at 8:03 PM, Nicolai Hess <<a href="mailto:nicolaihess@gmail.com">nicolaihess@gmail.com</a>> wrote:<br>
>>><br>
>>> See stackoverflow question<br>
>>> <a href="http://stackoverflow.com/questions/34722545/how-to-make-a-scrollpane-adjust-to-its-content/34751687#34751687">http://stackoverflow.com/questions/34722545/how-to-make-a-scrollpane-adjust-to-its-content/34751687#34751687</a><br>
>>><br>
>>> all I came up with is<br>
>>> calling <br>
>>> sp setScrollDeltas.<br>
>>><br>
>>> This will reset (or add or remove) the scrollbars.<br>
>>><br>
>>> I was wondering why something like<br>
>>> rows updateLayout or <br>
>>> rows changed<br>
>>><br>
>>> doesn't work.<br>
>>><br>
>>> Do we have a way to let a ScrollPane "know" when the submorphs changed ?<br>
>>> Some way for listening to newly added submorphs. Or add<br>
>>> the pane to dependents for its scrolled area and notify on changes for submorphs or just<br>
>>> the size?<br>
>>> (The content morph ("rows" in this example) can automatically adjust its<br>
>>> size when we add new submorphs)<br>
>>><br>
>>><br>
>>> nicolai<br>
>>><br>
>>><br>
>>><br>
>>><br>
>><br>
><br>
><br>
><br>
><br>
</p>