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"

UE4 Scrollbox shows only one box

I have a problem. I wan to show allways 3 horizontal boxes but i only can see one. It is able to scroll to see the others but i want to see allways 3 horizontal boxes while scrolling or not scrolling

it should look like this, but it does´nt in game

that is in game

Product Version: UE 4.20
unbenannt.png (175.2 kB)
unbenannt2.png (115.2 kB)
more ▼

asked Dec 19 '18 at 05:31 PM in Using UE4

avatar image

Unreal Kort
10 3 1 5

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

I found my solution. The W_shop poster was added by a widget switcher and this was wrapped by an box. I changed the size of it

more ▼

answered Feb 10 '19 at 12:24 AM

avatar image

Unreal Kort
10 3 1 5

(comments are locked)
10|2000 characters needed characters left

Your widget W_ShopPoster doesn't have a set width and height. When it gets added to the viewport (or your HUD widget, based off the second screenshot) it needs to be set to your specified width and height.

You have two choices.

1) Modify your W_ShopPoster by wrapping the ScrollBox with a SizeBox and give it a width and height override.

2) Modify your container widget (HUD I'm assuming) to have a set size for the W_ShopPoster when you add it.

more ▼

answered Dec 19 '18 at 09:53 PM

avatar image

1.2k 31 8 32

avatar image Unreal Kort Feb 02 '19 at 05:18 PM

Firstly thank you for your fast answer

it looks very simple but still not work. I tried out both choices and nothing worked. Same problem.

alt text

(comments are locked)
10|2000 characters needed characters left
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