From d7db7006a2b3244a3408e122df7feb3f81633edd Mon Sep 17 00:00:00 2001 From: Nico Vertriest Date: Mon, 26 Oct 2015 16:14:10 +0100 Subject: Doc: create link to enum list fillMode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Task-number: QTBUG-45880 Change-Id: I99b2b000179d22553113a4ea5dd505094a3e08be Reviewed-by: Topi Reiniƶ --- src/quick/items/qquickimage.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/quick/items') diff --git a/src/quick/items/qquickimage.cpp b/src/quick/items/qquickimage.cpp index 483d86c97d..20f4551af9 100644 --- a/src/quick/items/qquickimage.cpp +++ b/src/quick/items/qquickimage.cpp @@ -196,7 +196,6 @@ void QQuickImagePrivate::setPixmap(const QQuickPixmap &pixmap) Set this property to define what happens when the source image has a different size than the item. - \list \li Image.Stretch - the image is scaled to fit \li Image.PreserveAspectFit - the image is scaled uniformly to fit without cropping @@ -309,8 +308,8 @@ void QQuickImage::setFillMode(FillMode mode) \qmlproperty real QtQuick::Image::paintedHeight These properties hold the size of the image that is actually painted. - In most cases it is the same as \c width and \c height, but when using a - \c fillMode \c PreserveAspectFit or \c fillMode \c PreserveAspectCrop + In most cases it is the same as \c width and \c height, but when using an + \l {fillMode}{Image.PreserveAspectFit} or an \l {fillMode}{Image.PreserveAspectCrop} \c paintedWidth or \c paintedHeight can be smaller or larger than \c width and \c height of the Image item. */ -- cgit v1.2.3