Be explicit about the text color on the context menu

[ci skip]
pull/1/head
Konstantinos Sideris 8 years ago
parent af80c251d7
commit 4a026b1511
  1. 1
      CMakeLists.txt
  2. 6
      include/ui/Menu.h

@ -58,7 +58,6 @@ message(STATUS "Version: ${PROJECT_VERSION}")
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} \
-std=c++11 \
-Wall \
-Wextra \
-Werror \

@ -10,9 +10,9 @@ public:
{
setFont(QFont("Open Sans", 10));
setStyleSheet(
"QMenu { background-color: white; margin: 0px;}"
"QMenu::item { padding: 7px 20px; border: 1px solid transparent; margin: 2px 0px; }"
"QMenu::item:selected { background: rgba(180, 180, 180, 100); }");
"QMenu { color: black; background-color: white; margin: 0px;}"
"QMenu::item { color: black; padding: 7px 20px; border: 1px solid transparent; margin: 2px 0px; }"
"QMenu::item:selected { color: black; background: rgba(180, 180, 180, 100); }");
};
protected:

Loading…
Cancel
Save