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

QDockWidgets titlebar color #35

Closed
Bluscream opened this issue Dec 11, 2017 · 8 comments
Closed

QDockWidgets titlebar color #35

Bluscream opened this issue Dec 11, 2017 · 8 comments
Labels
3rd party Issue is caused by or relates to 3rd party software

Comments

@Bluscream
Copy link

Bluscream commented Dec 11, 2017

If you want to restyle the QDockWidget titles introduced with the TeamSpeak 3 Client Dock Widgets Plugin you can use

QDockWidget
{
color: #484C52 !important;
font-size: 40pt !important;
background: lightgray !important;
padding-left: 10px !important;
padding-top: 4px !important;
}

QDockWidget::title should also work according to stackoverflow and Qt forums but it doesn't for me

grafik

@Bluscream
Copy link
Author

Bluscream commented Dec 11, 2017

For informational purposes i can suggest using

@Chi-Yu
Copy link
Member

Chi-Yu commented Dec 11, 2017

I think I already merged a pull-request related to QDockWidgets, but a lot has changed since then.

If this is supposed to be a bug-report, please provide a bit more information what needs fixing. QDockWidgets is far too generic.

@Bluscream
Copy link
Author

grafik

it looks a bit non-discord like, right?

@Chi-Yu
Copy link
Member

Chi-Yu commented Dec 11, 2017

Yes. Surprisingly, Discord - which doesn't have "dock widgets" - doesn't have a concept for dock widget styling.

@Chi-Yu Chi-Yu added the 3rd party Issue is caused by or relates to 3rd party software label Dec 11, 2017
@Bluscream
Copy link
Author

i mean isn't the color a bit too dark?

@svenpaulsen
Copy link
Contributor

svenpaulsen commented Dec 12, 2017

If I remember correctly, when I added the stylesheet information for QDockWidget::title, I used the background color from the QMenuBar, which was #202225 at that point. Since we changed the menu background color to #2F3136 later, I'd agree that the same change could be applied to the dock widget titles. On the other hand, since you can drag dock widgets by grabbing their title, it might be a good thing that they're darker than other non-interactive UI elements.

Anyway... Chi-Yu should decide this.

@Bluscream
Copy link
Author

The new push looks way nicer, thanks for that!

@Chi-Yu Chi-Yu removed the need info label Dec 12, 2017
@Chi-Yu Chi-Yu changed the title QDockWidgets QDockWidgets titlebar color Dec 12, 2017
@Chi-Yu
Copy link
Member

Chi-Yu commented Dec 12, 2017

This has been fixed in version 0.9.0.

@Chi-Yu Chi-Yu closed this as completed Dec 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3rd party Issue is caused by or relates to 3rd party software
Development

No branches or pull requests

3 participants