Re: [Qt-qml] Rendering of rectangle borders with odd-numbered widths

2010-05-18 Thread bea.lam
On 06/05/2010, at 3:23 PM, ext bea@nokia.com wrote: > Currently if a Rectangle has an odd-numbered width, part of the bottom and > right-hand borders are rendered outside the rectangle's boundaries, not > inside. This is consistent with Qt's border rendering, as documented at > http://doc.

Re: [Qt-qml] Rendering of rectangle borders with odd-numbered widths

2010-05-06 Thread Martin Jones
On Fri, 7 May 2010 10:06:09 am Allison Warwick (Nokia-D-Qt/Brisbane) wrote: > > ... I would rather they just grew inwards ... > > While I agree with you, the world of SVG and PostScript, and apparently > most other drawing engines are against us right thinking people. I'm sure > they have powerful

Re: [Qt-qml] Rendering of rectangle borders with odd-numbered widths

2010-05-06 Thread bea.lam
Hi, >> >> This can be easily fixed with the attached patch, but >> obviously it would change the appearance of existing apps. >> For example if a ListView delegate renders bordered Rectangle >> elements for each item like this: > > If I got the patch right it's just fixing the (arguably most com

Re: [Qt-qml] Rendering of rectangle borders with odd-numbered widths

2010-05-06 Thread warwick.allison
> ... I would rather they just grew inwards ... While I agree with you, the world of SVG and PostScript, and apparently most other drawing engines are against us right thinking people. I'm sure they have powerful counter-arguments involving stitching and whatever. On this point, QML is just pas

Re: [Qt-qml] Rendering of rectangle borders with odd-numbered widths

2010-05-06 Thread Nigel.Hietala
ot; (eventually default) border.alignment: "grow_inwards" border.alignment: "grow_outwards" Regards, Stefan From:mailto:kai.koe...@nokia.com>> To:mailto:bea@nokia.com>>, mailto:qt-qml@trolltech.com>> Date: 2010-05-06 11:0

Re: [Qt-qml] Rendering of rectangle borders with odd-numbered widths

2010-05-06 Thread Stefan Josefsson
ntually default) border.alignment: "grow_inwards" border.alignment: "grow_outwards" Regards, Stefan From: To: , Date: 2010-05-06 11:07 Subject:Re: [Qt-qml] Rendering of rectangle borders with odd-numbered widths Sent by:qt-qml-boun...

Re: [Qt-qml] Rendering of rectangle borders with odd-numbered widths

2010-05-06 Thread kai.koehne
Hi, qt-qml-boun...@trolltech.com wrote: > Currently if a Rectangle has an odd-numbered width, part of > the bottom and right-hand borders are rendered outside the > rectangle's boundaries, not inside. This is consistent with > Qt's border rendering, as documented at > http://doc.qt.nokia.com/4.7-

[Qt-qml] Rendering of rectangle borders with odd-numbered widths

2010-05-05 Thread bea.lam
Currently if a Rectangle has an odd-numbered width, part of the bottom and right-hand borders are rendered outside the rectangle's boundaries, not inside. This is consistent with Qt's border rendering, as documented at http://doc.qt.nokia.com/4.7-snapshot/qrectf.html (under "Rendering"). This b