C#C
C#6mo ago
enrico11011

✅ Avalonia - All the buttons in my app are broken

So all the buttons in my app look like the one in the picture. This one's supposed to be stretched out to fill the container it's in, and contain the text "Add New Material" but it only barely does that. The background is also not supposed to be blue.

I haven't touched any of the style stuff (at least not on purpose), and everything looks fine in the Designer but its broken when it actually runs. What could the issue here be, and how do I debug errors like this?
image.png
Was this page helpful?