Commit 3828d6b2 authored by con's avatar con
Browse files

Icon tweaks for line edits.

Reviewed-by: Jens Bache-Wiig
parent 0284abbd
......@@ -274,7 +274,7 @@ void IconButton::paintEvent(QPaintEvent *)
QPixmap iconpixmap = icon().pixmap(QSize(ICONBUTTON_SIZE, ICONBUTTON_SIZE),
state, QIcon::Off);
QRect pixmapRect = QRect(0, 0, iconpixmap.width(), iconpixmap.height());
pixmapRect.moveCenter(rect().translated(0,-1).center());
pixmapRect.moveCenter(rect().center());
if (static_cast<FancyLineEdit*>(parentWidget())->autoHideIcon())
painter.setOpacity(m_iconOpacity);
......
src/plugins/coreplugin/images/editclear.png

748 Bytes | W: | H:

src/plugins/coreplugin/images/editclear.png

736 Bytes | W: | H:

src/plugins/coreplugin/images/editclear.png
src/plugins/coreplugin/images/editclear.png
src/plugins/coreplugin/images/editclear.png
src/plugins/coreplugin/images/editclear.png
  • 2-up
  • Swipe
  • Onion skin
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment