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"

How can I fix a widget drag offset with fixed TopLeft screen Offset ?

Hello, I have this problem when creating a Drag and drop widget, where my Widgets pops with an offset far from the cursors. This offset get ''fix'' when I drag the widget to the TopLeft corner of the screen. So my widgets never pops where i click.

EDIT: When test it in 'standalone game' mode the drags works properly, the problem is from viewport or ne window

Here is where I click and where the widget pops Here is where I click and where the widget pops Here is the dragged Widget on the corner Here is the dragged Widget on the topleft corner

I tried with different widgets class in 'Create Widget' and differents DragAndDrops BP Class in 'Create new drag operation' But Ends with the same problem alt text alt text

Product Version: UE 4.18
Tags:
more ▼

asked Dec 22 '17 at 10:28 PM in Blueprint Scripting

avatar image

Drugox
6 2 5

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

2 answers: sort voted first

The source of the problem is from Windows 10 Display Settings. My monitos is a little big so everything looks kind of small I set the Display Scale at 125% to get text, apps, items, etc a little bigger when I got it.

alt text

I just put it back to 100% scale and the Drag lock top left issue got Fix. alt text alt text

more ▼

answered Dec 23 '17 at 06:28 PM

avatar image

Drugox
6 2 5

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

Hey there, if you use the default Create drag and drop operation does it make any difference? Also try using self as the default drag visual.

more ▼

answered Dec 23 '17 at 12:00 AM

avatar image

xlar8or
6k 163 129 305

avatar image Drugox Dec 23 '17 at 12:30 AM

The results were the same with a difference on the widget aesthethic

This one is with the default drag and drop operation alt text This one is with both the default drag and drop operation and a self reference as the default drag visual alt text

Not sure if this helps but when I play on the viewport instead of a new window, the widget also takes the editor as part of the locked topleft offset alt text

avatar image xlar8or Dec 23 '17 at 12:32 AM

If you play the game in fullscreen (F11 and Shift+F11) does the issue still happen?

avatar image Drugox Dec 23 '17 at 12:44 AM

Yeah it does, in both F11 and Shift+F11

(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