-
Notifications
You must be signed in to change notification settings - Fork 730
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
Impossible to change the color of the text of QTabBar with setTabTextColor #212
Comments
Not sure how to provide this change. The tab widget does not accept QLabel, and HTML text is rendered colored as desired, but it stills with the HTML code be shown. |
@dpizetta if we do not provide a color style for the whole tab widget text color this wotks, but as soon as we provide that color, then set tabcolor stops working with qdarkstyle. One option would be to not enforce that color? |
@goanpeca we can try that :) Tks |
@goanpeca have you tried this? I do, but it stills having the problem. It would be inheriting. It does not work. I suggest @jnsebgosselin use icon if possible. If anyone has another idea, please let me know. |
I remeber trying something along the lines I said and it worked but I would need to check again. |
@jnsebgosselin now it should be working :) |
This is excellent, thank you very much! |
[Versions from your environment]
Setting the color of the text of individual tab in QTabBar with QTabBar.setTabTextColor is not working when using qdarkstyle
Below I present an example that demonstrate the issue.
Relevant Code [if necessary]
The text was updated successfully, but these errors were encountered: