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]: KryptonComboBox does not scale correct. Text becomes clipped. #1725

Closed
PontusLindberg opened this issue Aug 13, 2024 · 9 comments
Closed
Labels
answered This question has been adequately answered. area:toolkit All issues related to the toolkit components. bug Something isn't working fixed This issue has been fixed. version:85-lts All things to do with V85 LTS. version:90 All things to do with V90.

Comments

@PontusLindberg
Copy link

PontusLindberg commented Aug 13, 2024

Hi!

I have an issue with Krypton ComboBox height (not scaling correctly). I am running .net8 and the latest stable version of Krypton.Toolkit (85.24.6.176). I have seen the bug reported about this, but it does not seem to be fixed in the latest stable version? If not, when can I expect it to be fixed? Is there any workaround?

My form is upgraded from 4.6.1 and no problems there.

Windows version: Windows 11 Pro, 22631.3880
Toolkit: Krypton.Toolkit (85.24.6.176)
Net. 8.0
The KCBB is placed on a panel (not inside a TableLayoutPanel)

Screenshot:
image

Kind regards, Pontus

@PontusLindberg PontusLindberg added the question Further information is requested label Aug 13, 2024
@giduac giduac added bug Something isn't working awaiting feedback A fix for this issue has been implemented, waiting for feedback on the fix. area:toolkit All issues related to the toolkit components. labels Aug 13, 2024
@giduac
Copy link
Contributor

giduac commented Aug 13, 2024

Hi @PontusLindberg,

There was a fix for the text being clipped in the CBB, a while ago in this issue: #1455. This fix is in the release you are using.

Is this what you are experiencing?
If not please provide some more info on how to replicate and/or a sample that demonstrates the error.

@PontusLindberg
Copy link
Author

My problem is that the ComboBox height does not scale. As long as I stick to 100% in development and runtime, everything looks fine. If I change to 150% in runtime (I stick to 100% at development) the ComboBox height does not scale at all, so it's clipped. Other controls look fine. My form is upgraded from 4.6.1 and no problems there. I will try and recreate a ComboBox to see if that helps.

@giduac
Copy link
Contributor

giduac commented Aug 14, 2024

@PontusLindberg

Can you please add to the topic start:

  • The Windows version.
  • A screenshot when the CBB is scaled.
  • Is the CBB placed inside a TableLayoutPanel?

@giduac giduac changed the title [Question]: ComboBox height problem [Bug]: KryptonComboBox does not scale correct Aug 14, 2024
@giduac giduac removed the question Further information is requested label Aug 14, 2024
@giduac giduac added this to the Version 85 milestone Aug 14, 2024
@giduac giduac added version:85-lts All things to do with V85 LTS. version:90 All things to do with V90. labels Aug 14, 2024
@PontusLindberg
Copy link
Author

PontusLindberg commented Aug 14, 2024

Windows 11 Pro, 22631.3880
The comboox is inside a regular Windows panel
No difference if I create a new ComboBox
The form scales by font

image

@giduac giduac changed the title [Bug]: KryptonComboBox does not scale correct [Bug]: KryptonComboBox does not scale correct. Text becomes clipped. Aug 14, 2024
@giduac giduac removed the awaiting feedback A fix for this issue has been implemented, waiting for feedback on the fix. label Aug 14, 2024
@Smurf-IV
Copy link
Member

Hmm, Something is amiss:

  • Using todays alpha
  • image
  • image
  • image

@Smurf-IV Smurf-IV added need more info Needs more information to better understand the issue. awaiting feedback A fix for this issue has been implemented, waiting for feedback on the fix. labels Aug 20, 2024
@Smurf-IV
Copy link
Member

Smurf-IV commented Aug 20, 2024

But using the Canary nuget packages from "90.23.12.352-beta" gives the messed up formatting (Did not do all just a sample including the latest!):

  • Without scaling to 200%!!
  • .Net8 & 9 are messed up
    • image
  • .Net 4.8 is fine !!
  • Net 6.0 is fine !

@Smurf-IV
Copy link
Member

@Wagnerp Just used the latest branch of V85 and it appears to work as expected.
When will the next V85 be released ?

@Smurf-IV Smurf-IV added the fixed This issue has been fixed. label Aug 20, 2024
@PontusLindberg
Copy link
Author

This is critical for me, so I very much appreciate the info from @Smurf-IV. And I would also like to know when?

@PWagner1
Copy link
Contributor

@Wagnerp Just used the latest branch of V85 and it appears to work as expected. When will the next V85 be released ?

@Smurf-IV

Scheduled to be Monday

@Smurf-IV Smurf-IV added answered This question has been adequately answered. and removed need more info Needs more information to better understand the issue. awaiting feedback A fix for this issue has been implemented, waiting for feedback on the fix. labels Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered This question has been adequately answered. area:toolkit All issues related to the toolkit components. bug Something isn't working fixed This issue has been fixed. version:85-lts All things to do with V85 LTS. version:90 All things to do with V90.
Projects
None yet
Development

No branches or pull requests

4 participants