Hello!
My buttons consist of two DrawingCanvas objects. One is in the background and is the border and the other one is the button. The border is the child of the button.
But when the window size is altered then the border position will be messed. The button starts jumping inside its border. I uploaded a GIF, not sure if you can see what I mean.
media.giphy.com/media/1uA14955v1LfAMwdJo/giphy.gif
Depening on the current window size sometimes the button border will be 1 or more pixels smaller on one or two sides or sometimes completely gone on one or two sides.
Here are some pictures because the GIF turned out very low quality:
The fullscreen mode is letterbox scale. I tried all the other modes as well. I also tried pixel rounding or rounding the canvas objects positions on creation. With no avail.
What can I do to let these two objects always pixel-perfectly maintain the exact same position relative to another?