How do we scale DragUI? #10157
Unanswered
Gavin-Williams
asked this question in
Q&A
Replies: 1 comment 1 reply
-
From my tests, I could not resize with async operations inside DragStarting |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
If I'm using a SoftwareBitmap, how do I scale it to the correct size when used for a DragUI? I can call...
args.DragUI.SetContentFromSoftwareBitmap(ImageMaster, offset);
But it's the wrong size, it's rendering with the master images actual size. In practice, the image must be scaled to some size. I don't see any way to scale the image at render time. There are suggestions to re-generate or recode the images, but that just seems insane to me when we can simply transform the texture. If we can't render to any size ... I have to keep a separate image for every size I want to render?
Beta Was this translation helpful? Give feedback.
All reactions