These are chat archives for AvaloniaUI/Avalonia

7th
Jan 2019
Steven Kirk
@grokys
Jan 07 15:22
@jeffreye have you tried updating to the lastest CI build? @ahopper recently added a fix that was related to resizing, don't know if that might have fixed it?
you should be able to just set ClientSize
@alekivankovic no, i think that should use the interface. the interface came later than AvaloniaPropertyChangedEventArgs so it looks like it just wasn't updated
Github is allowing all free accounts to have private repos
Jonas Jermann
@jjermann
Jan 07 20:38
hi
I think there is some buggy behavior in avalonia regarding key bindings
I bound Gesture = "Up" to some command, which seems to work fine until some moment after which it no longer works.
However I also added a button with the same command and that button keeps working.
or am I missing something?
Jeffrey Ye
@jeffreye
Jan 07 22:21
@grokys yes, and it actually fixed the problem
Jeffrey Ye
@jeffreye
Jan 07 22:43
@grokys @ahopper I notice that if I set Width/Height Property before showing window, I could see a unresized window in the first frame.
ahopper
@ahopper
Jan 07 22:47
@jeffreye yep, In fixing the black bits bug I noticed the code appears to create the window then resize it, I don't know if this is windows only.
Jeffrey Ye
@jeffreye
Jan 07 22:50
Avalonia on macOS seems to be fine
ahopper
@ahopper
Jan 07 22:54
@danwalmsley is there a reason for the window being created then resized?