-
Notifications
You must be signed in to change notification settings - Fork 63
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]: Panel AntiAlias Border Problem #308
Comments
@sdreb3421 I'm confused with the pictures that you have shown.. Is the left a KryptonGroupBox (With rounding), set to black, and then the internal panel also set to black, but only the internal panel disabled ? Or a KryptonGroup (With rounding) .. etc. ? Or is it a KPanel with rounding ? |
Please check the (Draft PR above) projects I have modified to see if I have replicated as you have explained |
The left image is a KryptonGroup with rounding and the StateCommon back set to black and AntiAlias. The inner panel properties are left default. The lines will only show up if it is originally enabled then disabled at runtime. I didn't explain in too much detail because I figured the KryptonPanel was the root cause. |
@Smurf-IV I've never looked at a PR before. I can see the files you've changed, but can't easily see if you've replicated it appropriately. Can I open the PR up in Visual Studio somehow? |
Download (Select) the branch to your machine |
I was unsuccessful. We use Azure DevOps for our repos so I'm unfamiliar with the Git system. I connected to the Standard-Toolkit-Demos solution but it has tons of build errors so I can't open any of the forms. It looks like the projects aren't seeing the Krypton dlls/nuget. Should I add the canary nuget to all these projects? |
@sdreb3421 |
We're you able to reproduce and fix the issue? I stopped using Krypton panels and groups as a workaround. Would there still be benefit to downloading the PR and verifying? |
No I was not able to reproduce as per description. |
@sdreb3421 Can this be closed now ? |
I just made a commit to the code you provided. I added a button to the ColouredForm to enable/disable the groupbox and show the issue. Can you confirm on your end? |
@Smurf-IV just following up on issues I've opened tonight... |
I missed the update you made, thanks for pointing it out, I'll have a look next week earliest. |
Sorry, apparently I do not know how to use git. That looks like what I'm seeing. |
- Add the other Grpahics drawing types #308
Gray border lines are being drawn on the top/left when setting the GraphicsHint to AntiAlias on a KryptonPanel. This also shows up on the inner panel of a KryptonGroup with AntiAlias back, but only when the group is disabled. The image below shows an example of the weird lines for a KryptonGroup (left) and KryptonPanel (right).
To reproduce, add a KryptonPanel to a form. Set the GraphicsHint of the panel to be AntiAlias. Set the back color of the form and panel to be Black (not necessary but helps illuminate the issue).
Tested on both FrameWork and NET5 using 6.0.2108.1 as well as previous stable versions.
The text was updated successfully, but these errors were encountered: