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

QTabWidget tab text label is slightly obscured during hover event #128

Closed
nickdademo opened this issue Dec 27, 2018 · 2 comments
Closed

Comments

@nickdademo
Copy link

Describe Your Environment

[Versions from your environment]

  • QDarkStyle: 2.6.5
  • OS: Windows 10
  • Python: 3.6.5

[If used, please inform their versions]

  • PyQt: 5.11.3

Language

Python (also observed in C++).

Description / Steps to Reproduce [if necessary]

[Description of the issue]

  1. Move mouse over non-active tab page tab label

Actual Result

As shown below, "P" is obscured:

image

Expected Results / Proposed Result

No obscuring of text during hover event.

@Raincode
Copy link
Contributor

Raincode commented Jan 6, 2019

Suggested Fix: Add the following to QTabBar::tab:top:!selected:hover in style.qss on line 1350:
padding: 0px;

-->

QTabBar::tab:top:!selected:hover {
    border: 1px solid #148CD2;
    border-bottom: 3px solid #148CD2;
    padding: 0px;
}

I can create a PR. Not sure why it's behaving that way. I fixed a similar bug a while back: #57

image

dpizetta pushed a commit that referenced this issue Feb 13, 2019
* Attempt to fix Issue #128 
* Fixed Issue #128 for all sides.
@dpizetta
Copy link
Collaborator

Closed due #130

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

3 participants