stdware / qwindowkit

Cross-platform frameless window framework for Qt. Support Windows, macOS, Linux.
Apache License 2.0
442 stars 67 forks source link

the border and shadow color is not changed with the theme color, but keep to MS default, which makes it not look nice #86

Closed ziyuanbaby closed 1 month ago

SineStriker commented 2 months ago

Could you provide some screenshots? And have you compared to the normal Win32 window's behavior?

ziyuanbaby commented 2 months ago

the first sceen shoot is exemple of qwindowkit. the border and shadow is gray. the second sceen shoot is Powerpoint, the border is same color as theme color. it looks not nice if border color and theme color not same, especially for people who are sensitive with colors image

image

ziyuanbaby commented 2 months ago

Could you provide some screenshots? And have you compared to the normal Win32 window's behavior? thanks your time. please see the above screen shoots.

wangwenx190 commented 2 months ago

The border color is controlled by your OS, not QWK. We can't do anything about it. Please check why your window dont react to system theme change.

SineStriker commented 2 months ago

the first sceen shoot is exemple of qwindowkit. the border and shadow is gray. the second sceen shoot is Powerpoint, the border is same color as theme color. it looks not nice if border color and theme color not same, especially for people who are sensitive with colors image

image

Microsoft Office has some special treatments for border colors that are not supported in QWindowKit. You should use a normal Win32 window program or a program like Chrome to compare, QWindowKit is the same as them, the border color is controlled by the system.