adwaita-qt
adwaita-qt copied to clipboard
Rendering of menus doesn't look right
- The little blue highlight bar is missing on the selected menu
- Poor contrast on the submenu arrow
- The selection rectangle seems to spill outside the boundary a bit
With this:
--- a/src/style/adwaitastyle.cpp
+++ b/src/style/adwaitastyle.cpp
@@ -4932,7 +4932,7 @@ bool Style::drawMenuBarItemControl(const QStyleOption *option, QPainter *painter
if (useStrongFocus && sunken) {
StyleOptions styleOptions(painter, QRect(rect.left(), rect.bottom() - 2, rect.width(), 3));
styleOptions.setColorVariant(_variant);
- styleOptions.setOutlineColor(Colors::focusColor(StyleOptions(palette, _variant)));
+ styleOptions.setColor(Colors::focusColor(StyleOptions(palette, _variant)));
Adwaita::Renderer::renderFocusRect(styleOptions);
}
the highlight rectangle shows up (though it's not the right shade of blue).
Fixed with https://github.com/FedoraQt/adwaita-qt/pull/179.