Skip to content
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

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

Closed
paleiadevelopment opened this issue Feb 28, 2021 · 6 comments · Fixed by #161
Closed

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

paleiadevelopment opened this issue Feb 28, 2021 · 6 comments · Fixed by #161
Labels
enhancement New feature or request

Comments

@paleiadevelopment
Copy link

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.

@leocb leocb added the enhancement New feature or request label Mar 3, 2021
@paleiadevelopment
Copy link
Author

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
Copy link
Owner

leocb commented Mar 7, 2021

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
Copy link
Author

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
Copy link
Collaborator

orapps44 commented Mar 7, 2021

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

@paleiadevelopment
Copy link
Author

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 (#149).

orapps44 added a commit to orapps44/MaterialSkin that referenced this issue Mar 8, 2021
Fix leocb#156 
Add french translation for buttons
Add show Optional Arguments : UseRichTextBox (allow to switch between richtextbox or MaterialLabel for better rendering)
Add control minimum Height
@paleiadevelopment
Copy link
Author

thanks so much for the fixes!!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
3 participants