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
scrollboxbug.png (128.8 kB)
more ▼

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

avatar image

173 15 11 23

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!

avatar image Zoc Oct 26 '17 at 05:17 AM

Uhhh... Hopefully this isn't a bad thing: bump

(Afraid of this getting closed due to no activity)

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

2 answers: sort voted first

Hey Zoc-

Sorry for the late reply and thank you for the sample project. I was able to see what you are referring to and have entered a report here: https://issues.unrealengine.com/issue/UE-52000 . You can track the report's status as the issue is reviewed by our development staff. Please be aware that this issue may not be prioritized or fixed soon.


Doug E

more ▼

answered Nov 03 '17 at 05:30 PM

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

There are a couple of fixes for the scrollbox in 4.18.

Scrolling into view seems to work fine again. I update the (long) text of the last widget before scrolling it into view. I was half-expecting that a ForceLayoutPrepass will be necessary but that's not even the case.

more ▼

answered Oct 26 '17 at 07:23 AM

avatar image

9.3k 61 20 37

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
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