Changeset c7da828 for src


Ignore:
Timestamp:
07/24/11 16:12:00 (11 years ago)
Author:
gregor herrmann <gregoa@…>
Branches:
master, qt5
Children:
855c985
Parents:
a6f4f3d
Message:

Shift date text up by icon/2 in order to re-center the text. More or less at least.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gui/daynavigatorwidget.cpp

    ra6f4f3d rc7da828  
    120120    QPainter painter(this);
    121121    painter.save();
    122     QRect q(y()-height(), x(), height(), width());
     122    QRect q(y()-height()+16, x(), height(), width()); // today icon size = 32x32
    123123    painter.rotate(270);
    124124    painter.drawText(q, Qt::AlignCenter, selectedDateStr);
Note: See TracChangeset for help on using the changeset viewer.