Roman Shapiro
Roman Shapiro
I tend to disagree that every other application has different behavior. I've attached a small WPF sample(it's important to notice, that Myra is trying to mimic WPF behavior). Run it,...
After some more playing with WPF, I've noticed that Click event fires only if MouseDown/MouseUp events occured within the same button. Myra Button also has Click event. And a fix...
store the content as resources?
Sorry for the late response. So you propose that the margin should be added to the Width/Height? And if the Widget has Width/Height set to 100/100 and Margin set to...
All of them. And all FNA platforms as well.
Set DragDirection to None
Further research revealed that the problem lies in the effect using technique with profiles `vs_4_0`/`ps_4_0`. If I change them to `vs_4_0_level_9_1`/`ps_4_0_level_9_1`(like stock effects do), then the problem goes away. However...
I've located the problem at least. One needs to explicitly pass GraphicsProfile.HiDef when creating the GraphicsDeviceManager in order for SM4 shaders to properly load. Still keeping the issue open as...
hmm, it would be great then, if mgfx generated an error when trying to compile .fx with a parameter larger than Matrix4x4
Well, check the sample. It's quite simple and the image shouldn't be cut on resize. But it is cut. Moreover it works properly for MonoGame.WindowsDX.