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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Not reaching the bottom with a scroll box

Hello, i'm having a problem with a scroll box.

I made a script that adds another line to the scroll box everytime the user click on a "+" . The issue is that when it reachs the bottom the last line is not clearly visible.

See picture :

good

alt text

bad

alt text

Any idea ?

Product Version: UE 4.18
Tags:
notbottom.jpg (31.4 kB)
bottom.jpg (10.0 kB)
more ▼

asked Jan 13 '18 at 12:23 PM in Blueprint Scripting

avatar image

Kadeno
1 2 1 4

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

2 answers: sort voted first

Found the problem :

My widget anchor was on the top of the widget, causing the widget to glitch underneath the bottom limit of my scroll box.

bad :

alt text

good:

alt text

also found a bug where if you don't specify the widget to find in the scroll widget into view function, the editor will crash when calling the function in-game. Filling a bug report as we speak.

Thank you to vr_macro for keeping me thinking.

bad.jpg (26.8 kB)
good.jpg (21.4 kB)
more ▼

answered Jan 13 '18 at 06:58 PM

avatar image

Kadeno
1 2 1 4

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

Try to use ScrollWidgetIntoView passing the last widget added. That should solve your issue:

https://docs.unrealengine.com/latest/INT/BlueprintAPI/Widget/ScrollWidgetIntoView/

more ▼

answered Jan 13 '18 at 03:05 PM

avatar image

vr_marco
2.2k 10 6 12

avatar image Kadeno Jan 13 '18 at 03:40 PM

Thank you for the answer. it sure does the animation but the bottom line is still half out of reach.

avatar image vr_marco Jan 13 '18 at 03:49 PM

And ScrollToEnd applied to the scroll box doesn't work either?

avatar image Kadeno Jan 13 '18 at 06:51 PM

Nop, doesnt work either. I'm afraid the widget is scolling already to the end. But your comment made me think and I found the solution. Thank you good sir, I will create an answer to explain what was going on.

(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