-
Notifications
You must be signed in to change notification settings - Fork 99
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
Hot to theme QuickSwitch border size and colour? #736
Comments
Does |
OK, it's just a generic function with the color derived from the generic switch background:
|
Not only this, but it is also always a 3D style, even when Look=flat.
It would be great if this could be fully themed so I could make it look
consistent with how my windows and my menu looks.
…On Mon, 12 Jun 2023, 12:36 gijsbers, ***@***.***> wrote:
OK, it's just a generic function with the color derived from the generic
switch background:
g.setColor(switchBg);
g.drawBorderW(0, 0, width() - 1, height() - 1, true);
—
Reply to this email directly, view it on GitHub
<#736 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAWVPE5HZD2PVT66B4DCMNDXK3WLZANCNFSM6AAAAAAZB5JPZM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Maybe other looks need a fix as well. |
Well, "fully" might have been not the best choice of word. I meant that it would be great if it were consistent with what can be styled on the other elemens (e.g. windows/menu), such that one can create themes that look coherent. |
I am not sure that his is an enhancement only. For certain themes, even the included ones, quick-switch looks outright ugly (low contrast, hard to read). Example: NanoBlue, although the actual cause is the color configured in the theme - when the background pixmap is not used, the raw color is simply bad. @fladd Would it make sense to simply mimic the menu look in the quickswitch overlay? I.e. matching Look and color scheme completely? |
@Code7R Yes, that would make sense, but keep in mind that the menu look is actually affected by several things that interact in a complex (and not very intuitive) way. For instance, to get a 1px border in colour X around the menu, one would need to set "ColorActiveMenuItem" to X while at the same time have "ColorNormalMenu" set and have a "menubg.xpm" file present. In this context it is also worth noting that the colour you set in "ColorNormalMenu" will actually not be put on screen as is, but a significantly lighter version of it will appear on screen. So for instance, if you want it to appear on screen as #C4C3C8, you need to set it to #939297 for some reason. So yes, it would be nice if the QuickSwitch would follow the menu, but it would then also need to mirror all these complex oddities :-) |
I cannot seem to find a way to change the border size and colour of the QuickSwitch window. It does not follow the normal window settings.
The text was updated successfully, but these errors were encountered: