Closed VFLashM closed 6 years ago
@VFLashM do you have a screenshot? On which OS did you try it?
It was on MacOSX, Qt 5.10. Here's the screenshot:
I fixed it by adding this line:
QTabBar::tab{
+ color:#aaaaaa;
}
looks weird... My is looking correctly (also MacOS + Qt 5.10) - tabbed dock widgets on the right and normal tabs on the left:
Looks like you did not apply the correct palette to the application.
Maybe it has something to do with the fact that it was docked widget, I don't know. Do I need to do something more than style? I thought it sets palette on its own.
setStyle(new DarkStyle);
On Wed, Jan 24, 2018 at 11:29 PM Jürgen Skrotzky notifications@github.com wrote:
Looks like you did not apply the correct palette to the application.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Jorgen-VikingGod/Qt-Frameless-Window-DarkStyle/issues/14#issuecomment-360357789, or mute the thread https://github.com/notifications/unsubscribe-auth/ADjSTbnik8BPr3WKneoSDBnxtxh-axY7ks5tOAMsgaJpZM4RoxVk .
This is exactly the way to use it. Really strange issue.
Can you report that this example is working? See my referenced commit
Does not reproduce. I guess in my case it happened because I apply style after creating widgets. On Thu, Jan 25, 2018 at 9:56 AM Jürgen Skrotzky notifications@github.com wrote:
This is exactly the way to use it. Really strange issue.
Can you report that this example is working? See my referenced commit
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Jorgen-VikingGod/Qt-Frameless-Window-DarkStyle/issues/14#issuecomment-360490389, or mute the thread https://github.com/notifications/unsubscribe-auth/ADjSTemofRPUePErR-2wkbYJUZk1-a09ks5tOJYsgaJpZM4RoxVk .
really strange happens here. But good to know, that it is fixed now for your application. If it appears again, please open a new issue.
I think tabbed dock widgets still use default text color. Not sure if that's intended, but they are pretty hard to read.