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

[Bug]: 2108.# Canary KryptonMessageBox display is off the left of the display area #242

Closed
Smurf-IV opened this issue Aug 6, 2021 · 13 comments
Labels
bug Something isn't working completed This issue has been completed.

Comments

@Smurf-IV
Copy link
Member

Smurf-IV commented Aug 6, 2021

image

@Smurf-IV Smurf-IV added the bug Something isn't working label Aug 6, 2021
@Smurf-IV
Copy link
Member Author

Smurf-IV commented Aug 6, 2021

The Text is retrieved from the tooltip which looks like this:
image

@Smurf-IV
Copy link
Member Author

Smurf-IV commented Aug 6, 2021

Single line messageBox seems okay:
image

@PWagner1
Copy link
Contributor

PWagner1 commented Aug 6, 2021

Does it utilise a KryptonWrapLabel?

@Smurf-IV
Copy link
Member Author

Smurf-IV commented Aug 7, 2021

Looks like it:
image

@PWagner1
Copy link
Contributor

PWagner1 commented Aug 7, 2021

How about adding an option to set the TextAlignment?

@Smurf-IV
Copy link
Member Author

Smurf-IV commented Aug 7, 2021

No.. It should work like a normal MessageBox, but with the current theme.
The KryptonMessageBox code it getting a little out of hand/scope in the "Standard Toolkit"

@Smurf-IV Smurf-IV self-assigned this Aug 7, 2021
@Smurf-IV Smurf-IV added the under investigation This bug/issue is currently under investigation. label Aug 7, 2021
@Smurf-IV
Copy link
Member Author

Smurf-IV commented Aug 7, 2021

This is even worse that I thought - Where is the Icon ?
image

And the Opening problem is created when there is no icon selected

@PWagner1
Copy link
Contributor

PWagner1 commented Aug 7, 2021

Would it be easier to completely redo the KryptonMessageBox, as the code is really clunky?

@Smurf-IV
Copy link
Member Author

Smurf-IV commented Aug 7, 2021

Yes it probably would be..
When were these introduced?
float? cornerRadius, bool? useBlur, int? blurRadius, KryptonForm parentWindow = null

@PWagner1
Copy link
Contributor

PWagner1 commented Aug 7, 2021

They were in build 2108. Plus I was struggling to find a solution to the checkbox text issue. I had thought about splitting the footer into two, but the design code makes it incredibly hard to figure out what does what.

@Smurf-IV
Copy link
Member Author

Smurf-IV commented Aug 7, 2021

So if it was removed, and these feature put into the Extended kit, then that would be better, (Along with the KryptonMessageBoxManager) ?

@PWagner1
Copy link
Contributor

PWagner1 commented Aug 7, 2021

Yes

@Smurf-IV
Copy link
Member Author

Smurf-IV commented Aug 7, 2021

Fixed:
image

@Smurf-IV Smurf-IV closed this as completed Aug 7, 2021
@Smurf-IV Smurf-IV removed their assignment Aug 7, 2021
@Smurf-IV Smurf-IV added completed This issue has been completed. and removed under investigation This bug/issue is currently under investigation. labels Aug 7, 2021
@Smurf-IV Smurf-IV added this to the November 2021 (Version 6) milestone Aug 7, 2021
@Smurf-IV Smurf-IV changed the title [Bug]: 2108.2 Canary KryptonMessageBox display is off the left of the display area [Bug]: 2108.# Canary KryptonMessageBox display is off the left of the display area Sep 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working completed This issue has been completed.
Projects
None yet
Development

No branches or pull requests

2 participants