From d4eef6e8da24aa860d4db0f66641adbb75cc1518 Mon Sep 17 00:00:00 2001 From: Dheerendra Purohit Date: Wed, 26 Mar 2025 12:10:04 +0530 Subject: Doc : .sci file usage in BorderImage documentation The BorderImage documentation was unclear about the .sci file reference. Fixes: QTBUG-127329 Change-Id: Ife1ff7343845aa515e967256a092e08fce8c008c Reviewed-by: Axel Spoerl --- src/quick/items/qquickborderimage.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/quick/items') diff --git a/src/quick/items/qquickborderimage.cpp b/src/quick/items/qquickborderimage.cpp index c910e2bc23..e1ff549ef2 100644 --- a/src/quick/items/qquickborderimage.cpp +++ b/src/quick/items/qquickborderimage.cpp @@ -212,9 +212,12 @@ QQuickBorderImage::~QQuickBorderImage() BorderImage can handle any image format supported by Qt, loaded from any URL scheme supported by Qt. - This property can also be used to refer to .sci files, which are - written in a QML-specific, text-based format that specifies the - borders, the image file and the tile rules for a given border image. + This property can also refer to a \c .sci file — a QML-specific, + text-based format that embeds the border values, the source image, + and tile rules directly within the file. When using a \c .sci file, + the BorderImage reads the border information from the file itself, + so specifying border properties in QML is unnecessary. + The following .sci file sets the borders to 10 on each side for the image \c picture.png: -- cgit v1.2.3