diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/propertyEditor.css b/share/qtcreator/qmldesigner/propertyeditor/Qt/propertyEditor.css index 31af443f4c6ca2317a1b0ef6951365317e0b21ad..b6cca92a07a0267b4a8de1478cbf1cb0cbae6434 100644 --- a/share/qtcreator/qmldesigner/propertyeditor/Qt/propertyEditor.css +++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/propertyEditor.css @@ -388,6 +388,7 @@ QMenu { padding: 2px; color: #404040; border-radius: 4px; + padding: 2px 25px 2px 20px; } QMenu::separator { height: 1px; @@ -395,3 +396,14 @@ QMenu::separator { margin-left: 5px; margin-right: 5px; } + + QComboBox QAbstractItemView { + show-decoration-selected: 1; /* make the selection span the entire width of the view */ + background-color: #494949; /* sets background of the menu */ + border: 1px solid black; + margin: 0px; /* some spacing around the menu */ + color: #cacaca; + selection-background-color: #d2d2d2; + selection-color: #404040; + } + diff --git a/src/plugins/qmldesigner/components/resources/stylesheet.css b/src/plugins/qmldesigner/components/resources/stylesheet.css index b660897c29a0084954299506b60a9c6c13d06566..b65911e6dc86af63ad92516719006965a9409958 100644 --- a/src/plugins/qmldesigner/components/resources/stylesheet.css +++ b/src/plugins/qmldesigner/components/resources/stylesheet.css @@ -63,10 +63,15 @@ QLineEdit QListView::item:selected { color: white; } - -QComboBox QAbstractItemView { - color: black; - border: 2px solid darkgray; - selection-background-color: lightgray; + + QComboBox QAbstractItemView { + show-decoration-selected: 1; /* make the selection span the entire width of the view */ + background-color: #494949; /* sets background of the menu */ + border: 1px solid black; + margin: 0px; /* some spacing around the menu */ + color: #cacaca; + selection-background-color: #d2d2d2; + selection-color: #404040; } + \ No newline at end of file