I’m trying to get the last widget of a vertical box inside a scrollbox always visible.
The usual functions:
ScrollBox_Journal->ScrollToEnd(); ScrollBox_Journal->ScrollWidgetIntoView(VerticalBox_Journal->GetChildAt(VerticalBox_Journal->GetChildrenCount() - 1), true);
work only as long as the the vertical box is horizontally stretched enough so that there’s no text autowrap going on:
But as soon as the autowrap kicks in, the scrolling, when requested by those functions (it works well with the mouse of course) doesn’t go to the end:
I have tried to play with the padding and the EDescendantScrollDestination options, but no success so far.
I’ve even tried more fancy things, like adding an extra invisible widget below the vertical box and aiming at it, but to no avail.
Anyone has a trick to make this work in all circumstances ?