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

Right-aligned QLineEdits have different borders enabled vs disabled #87

Open
nicoddemus opened this issue Feb 16, 2023 · 1 comment
Open

Comments

@nicoddemus
Copy link

From #85 (comment), the right border is not aligned correctly when the QLineEdit is enabled vs disabled.

See the two bottom controls:

image

@gustavo-iniguez-goya
Copy link
Contributor

gustavo-iniguez-goya commented Feb 16, 2023

This behaviour is defined here:

padding: 0px {{16|density(density_scale)}}px;

Removing the padding aligns the behaviour with disabled and non-disabled states. But the code to add padding based on the density value suggests me that maybe there was an issue with differents density scales... so again @YeisonCardona is the best person to apply the proper fix here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants