diff --git a/src/plugins/coreplugin/manhattanstyle.cpp b/src/plugins/coreplugin/manhattanstyle.cpp index 0b64541ae4ae4edc771c84276a54a01b67c8dd35..cafbe06856322df7f7be9b59c11a51dacb9e6f1b 100644 --- a/src/plugins/coreplugin/manhattanstyle.cpp +++ b/src/plugins/coreplugin/manhattanstyle.cpp @@ -773,7 +773,7 @@ void ManhattanStyle::drawControl(ControlElement element, const QStyleOption *opt customPal.setBrush(QPalette::All, QPalette::ButtonText, QColor(0, 0, 0, 70)); - QRect rect = editRect.adjusted(1, 0, -8, 0); + QRect rect = editRect.adjusted(1, 0, 0, 0); QString text = option->fontMetrics.elidedText(cb->currentText, Qt::ElideRight, rect.width()); drawItemText(painter, rect.translated(0, 1), visualAlignment(option->direction, Qt::AlignLeft | Qt::AlignVCenter),