leocb / MaterialSkin

Theming .NET WinForms, C# or VB.Net, to Google's Material Design Principles.
MIT License
446 stars 132 forks source link

MaterialMessageBox: not showing caption when Buttons are "YesNo" #156

Closed paleiadevelopment closed 3 years ago

paleiadevelopment commented 3 years ago

I can reproduce the following 100% of the time: When I call up a MaterialMessageBox as MaterialSkin.Controls.MaterialMessageBox.Show("Text", "Caption", MessageBoxButtons.OK) it works fine.

But when I use "YesNo" like this: MaterialSkin.Controls.MaterialMessageBox.Show("Text", "Caption", MessageBoxButtons.YesNo) the caption is not shows. The whole upper part of the MessageBox is empty.

paleiadevelopment commented 3 years ago

Is there any way to work around this? This bug is preventing me from working, as I need working messgae boxes to deploy the software. I looked at the code, but could not find anything off.

leocb commented 3 years ago

Hi, I don't know. I didn't implement the message Box on this lib. I currently don't have time to dedicate to this project, maybe @orapps44 can help you, they are currently very active in the development.

paleiadevelopment commented 3 years ago

ThanksI There's no "issues" tab on @orapps44 page, but maybe they'll see it here. I feel super bad for nagging. And it is 100% my own fault for not testing all behaviour before using the library, but this really is the worst showstopper for me (together with &mnemotics showing in all buttons). UI issues are one step below hard crashes...

orapps44 commented 3 years ago

@paleiadevelopment can you post issue screenshot ? I didn't used MaterialMessageBox yet, but I can review the code and try to fix it.

paleiadevelopment commented 3 years ago

missingheader

Thank you so much for looking into it! Here's a screenshot. It shows both the missing caption (this issue), as well as the & in the button texts (https://github.com/leocb/MaterialSkin/issues/149).

paleiadevelopment commented 3 years ago

thanks so much for the fixes!!!!