MessageBox is not shown correctly

Fundamentals for Avalonia UI Forum

Posted 1 month ago by Yaroslav Khomyak
Avatar

I try to use MessageBox. 

Avalonia 11.0.10

ActiPro 23.1.3

MessageBox.Show(
            message,
            "Invent Commander",
            MessageBoxButtons.OK
        );

Here is what I get:

https://imgur.com/ufjBttR

[Modified 1 month ago]

Comments (2)

Answer - Posted 1 month ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Looks like you're missing the Pro themes. I tested on Avalonia 11.0.10 and it works as expected. When I removed our Pro themes, what I got was similar to what you reported.

Please see the following for more detail on configuring the themes:

https://www.actiprosoftware.com/docs/controls/avalonia/fundamentals/getting-started#configure-themes


Actipro Software Support

Posted 1 month ago by Yaroslav Khomyak
Avatar

Thank you, it works now

Add Comment

Please log in to a validated account to post comments.