Konstantin S.

Results 286 comments of Konstantin S.

At the moment, I don't know the reason why the console application does not receive events on the MessageWindow (although the platform libraries work with the same code). It is...

> Is it possible to change a context menu item property (like `Text`) in the runtime?🤔 It will depend on the ContextMenu mode for WinUI. Binding is currently not available...

Thanks for the issue. Are you using a standard WinUI manifest like this? ```xml true/PM PerMonitorV2, PerMonitor ``` Also please confirm that you are not using ContextMenuMode.SecondWindow. If both statements...

In fact, the calculation of the required size is poorly implemented at the moment. I have not yet figured out why this method returns different results from time to time....

> * Do we really need to include the padding during the calculation? I'm not sure but I think it is repeated with DesiredSize. I used the following code instead...

Thank you, I will test. You can replace `Windows.Win32.PInvoke.GetDpiForWindow((Windows.Win32.Foundation.HWND)App.Hwnd) / 96.0` with `MyMenu.XamlRoot.RasterizationScale`

> @HavenDV can work in winui 3, no scroll bar, and use MenuFlyout Closing event to prevent close, because MenuItem size change to 32 when open again. ( MenuItem =...

I have released a new version with updated window size calculations (thanks to @l619534951) but wrong sizes still pop up in some cases. I would appreciate any help in testing...

Thanks a lot for testing, I'll work it out and let you know when it's ready.