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]: **Regression** KComboBox text is clipped; as height is incorrect. #1455

Open
Smurf-IV opened this issue May 6, 2024 · 4 comments
Open
Labels
bug Something isn't working regression Something was working in a previous release, but isn't working now.

Comments

@Smurf-IV
Copy link
Member

Smurf-IV commented May 6, 2024

Using April 2024 alpha:
image

Win 10 22H2 (Latest)

@Smurf-IV Smurf-IV added bug Something isn't working regression Something was working in a previous release, but isn't working now. labels May 6, 2024
@Smurf-IV
Copy link
Member Author

Smurf-IV commented May 6, 2024

<PackageReference Include="Krypton.Toolkit.Canary" Version="80.22.11.325-beta" />:
image

@Smurf-IV
Copy link
Member Author

Smurf-IV commented May 6, 2024

I'm confused, With that much clipping, surely someone would have mentioned it as a show stopper before now !!?

@Smurf-IV
Copy link
Member Author

Smurf-IV commented May 6, 2024

It seems it's just the MessageBox Demo app (At the moment)

If I use the workaround mentioned here: #615
the Height is sorted, but the text is still clipped !!
image

@Smurf-IV
Copy link
Member Author

Smurf-IV commented May 6, 2024

This "Maybe" a clue.

  • If I force a font into the StateCommon -> ComboBox -> Content
    • Then the size in the designer and the UI will be correct.

So the clue might be the designer (and at runtime) is picking up a null or small font for the height of the text area,
But when the text is actually drawn using the the them font, it is obviously "clipping out" due to "Not enough height"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working regression Something was working in a previous release, but isn't working now.
Projects
None yet
Development

No branches or pull requests

1 participant