-
-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WindowManager MessageBox UI issue #138
Comments
That's very weird, I haven't seen that before. If you create a |
Yes, it's very strange, and all other controls including buttons work just fine in windows, usercontrols etc. |
try change the font size |
Hi, sorry for the thread bumping but I'm also having the same problem: I'm not sure if it helps but I'm using ModernWpf as UI framework -> https://github.com/Kinnara/ModernWpf
Does anyone know how to fix the button? Other "normal" buttons work normally, thanks |
Would the fix to this issue be simply changing the |
Hi there, I got the same problem as @Coke21. My messagebox button is a) not centered and b) clipping. I would imagine that the "not centered" part is coming from this code (unfortunately I can't test it):
Would be awesome if this gets fixed, if you need anything let me know. |
Have you tried this: <Style TargetType="TextBlock">
<Setter Property="VerticalAlignment" Value="Center" />
</Style> |
I'm using HandyControl as UI framework and I'm having the same problem. Also, MessageBox cannot adapt to dark mode. |
I believe this is related to HandyControl more than Stylet. |
Dear,
First of all, thank you for all your work, I find this project truly useful for my developments.
I'm using the WindowManager to show Stylet's own MessageBox as discussed in the docs:
this.windowManager.ShowMessageBox($"Error message here.", "Warning", MessageBoxButton.YesNoCancel, MessageBoxImage.Warning);
It works, however, the buttons on the MessageBox are strange-looking:
Do you have any idea what could cause this issue?
Thanks a lot in advance!
The text was updated successfully, but these errors were encountered: