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"

Basic grid in UMG with padding issue with scaling

I am trying to achieve a Diablo 2/3 like inventory. Here is an example of what I am trying to achieve:

alt text

Notice there are evenly spaced slots with some padding between them.

I have basically the same thing implemented with UMG. I am using a grid panel and then a widget containing a border with an image for the slot. The padding between the image and the border is set to 0.5 currently. When I run my game in Standalone while in fullscreen 1080p resolution, here is how it looks on the screen:

alt text

Notice how there is a thicker than normal bar in the middle. This should not be happening when they are all set to .5 padding. The grid itself also has a .5 padding around the outside of the tiles. The scaling only gets worse if you zoom in/out in the actual UMG class, or doing PIE.

Does anyone have any advice on how to tackle this issue?

Product Version: UE 4.20
Tags:
untitled.png (4.4 kB)
more ▼

asked Oct 21 '18 at 03:57 PM in Blueprint Scripting

avatar image

Zarrey
39 9 13 18

avatar image Firya Mar 19 '19 at 03:13 PM

I am trying to achieve the same thing and i run exactly into the same issue... in 4.19.2

Did you find a fix ?

(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