[Kst] kdeextragear-2/kst/kst
Barth Netterfield
netterfield at astro.utoronto.ca
Thu Dec 16 03:34:17 CET 2004
No
On December 15, 2004 07:04 pm, George Staikos wrote:
> CVS commit by staikos:
>
> does this help with the label bug?
>
>
> M +4 -4 kstlabel.cpp 1.52
>
>
> --- kdeextragear-2/kst/kst/kstlabel.cpp #1.51:1.52
> @@ -369,5 +369,5 @@ void KstLabel::draw(QPainter &p, int px,
> QSize sz =
> p.fontMetrics().size(Qt::AlignLeft|Qt::AlignVCenter|Qt::ExpandTabs, strOut,
> -1, tabWidth); if (doDraw) {
> - p.drawText(int(x), int(y) - sz.height() - fP[i_fp].dy,
> sz.width(), sz.height(), Qt::AlignLeft|Qt::AlignVCenter|Qt::ExpandTabs,
> strOut); + p.drawText(int(x), int(y) - sz.height() -
> int(fP[i_fp].dy), sz.width(), sz.height(),
> Qt::AlignLeft|Qt::AlignVCenter|Qt::ExpandTabs, strOut); }
> x += sz.width();
> @@ -461,5 +461,5 @@ void KstLabel::draw(QPainter &p, int px,
> QSize sz =
> p.fontMetrics().size(Qt::AlignLeft|Qt::AlignVCenter|Qt::ExpandTabs, str,
> -1, tabWidth); if (doDraw) {
> - p.drawText(int(x),int(y) - sz.height() - fP[i_fp].dy,
> sz.width(), sz.height(), Qt::AlignLeft|Qt::AlignVCenter|Qt::ExpandTabs,
> str); + p.drawText(int(x),int(y) - sz.height() -
> int(fP[i_fp].dy), sz.width(), sz.height(),
> Qt::AlignLeft|Qt::AlignVCenter|Qt::ExpandTabs, str); }
>
> @@ -520,5 +520,5 @@ void KstLabel::draw(QPainter &p, int px,
> QSize sz =
> p.fontMetrics().size(Qt::AlignLeft|Qt::AlignVCenter|Qt::ExpandTabs, strOut,
> -1, tabWidth); if (doDraw) {
> - p.drawText(int(x), int(y) - sz.height() - fP[i_fp].dy,
> sz.width(), sz.height(), Qt::AlignLeft|Qt::AlignVCenter|Qt::ExpandTabs,
> strOut); + p.drawText(int(x), int(y) - sz.height() -
> int(fP[i_fp].dy), sz.width(), sz.height(),
> Qt::AlignLeft|Qt::AlignVCenter|Qt::ExpandTabs, strOut); }
> x += sz.width();
> @@ -548,5 +548,5 @@ void KstLabel::draw(QPainter &p, int px,
> QSize sz =
> p.fontMetrics().size(Qt::AlignLeft|Qt::AlignVCenter|Qt::ExpandTabs, strOut,
> -1, tabWidth); if (doDraw) {
> - p.drawText(int(x),int(y) - sz.height() - fP[i_fp].dy, sz.width(),
> sz.height(), Qt::AlignLeft|Qt::AlignVCenter|Qt::ExpandTabs, strOut); +
> p.drawText(int(x),int(y) - sz.height() - int(fP[i_fp].dy), sz.width(),
> sz.height(), Qt::AlignLeft|Qt::AlignVCenter|Qt::ExpandTabs, strOut); }
> x += sz.width();
>
>
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst
More information about the Kst
mailing list