x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

UScrollBox::ScrollWidgetIntoView do not show the target widget entirely

When calling UScrollBox::ScrollWidgetIntoView() (Both in Blueprint and C++) it does not show the target widget entirely.

I got a couple screenshots of how it currently behave, as of UE4.17, and how it should behave (having room, showing the widget entirely. If there's no room, show as much as possible of it): alt text

UScrollBox::ScrollToEnd() works as expected (but there isn't an animation option for it, and the animation is really neat :D)

Hopefully UScrollBox::ScrollWidgetIntoView() can be fixed.

Product Version: UE 4.17
Tags:
scrollboxbug.png (128.8 kB)
more ▼

asked Oct 12 '17 at 08:45 AM in Bug Reports

avatar image

Zoc
143 15 11 21

avatar image Doug E ♦♦ STAFF Oct 12 '17 at 01:58 PM

Hey Zoc,

When I use the Scroll Widget Into View node in blueprints, the Widget to Find is brought into view as expected. Can you provide the setup you're using or a sample project reproducing the behavior?

avatar image Zoc Oct 12 '17 at 08:29 PM

Sure! That's easy to do :)

Something I noticed while I was making this small proof of bug (I'm tempted to type concept here lol), is that it happens when you change the content of the widget (in this case, the text) after it was created. Maybe it's size isn't being re-calculated after creation?

If there's a workaround for this, currently, I'd love to know about it :)

Anyway, here's the project with this issue. It contains both a proof with a custom widget and with a simple "Text" widget.

Thank you very much!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question