✅ AngelSix YouTube Series, cannot get position to work on popup -- Avalonia
I am doing everything he does, and he gets the button to work for him instantly. I have the same code as him at 12:30 in video #9 in his YouTube series for learning Avalonia building a Loudness Meter. The project builds with no issues, but when I run the program to launch the desktop application, it throws an error on
mChannelConfigPopup.Margin = new Thickness(position.X, 0, 0, position.Y);
as shown in the screenshot and I cannot figure out why.1 Reply
to get it to work I had to change the function a bit
but I still don't understand why I had to do this so early when he hasn't done this in the video yet