summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qplatformclipboard.cpp
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2024-04-10 16:30:42 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2024-05-07 12:28:59 -0700
commitab2f4ef8fad82fd07dac8768b8dcb94b11b271b6 (patch)
treeb24d4c9f6e65150566b195a545794386b30114cc /src/gui/kernel/qplatformclipboard.cpp
parentfb2ea1e52a03f87e041a61b936183175df37b5bf (diff)
QTextDocument: Add support for responsive imagesHEADdev
Add support for the max-width css attribute in image. This allows images to be responsive: it adapts their size to the size of the QTextDocument so that they never grow bigger than the QTextDocument pageSize. This is implemented for the image handler used in QTextEdit and other QtWidget text related classes. [ChangeLog][QtGui][CSS] The max-width style can now be applied to <img/> to set the maximum width in pixels or percentage. Task-number: QTBUG-12283 Change-Id: Ic94e16279a1240ab4a509823de59dc0bfc920bb9 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/gui/kernel/qplatformclipboard.cpp')
0 files changed, 0 insertions, 0 deletions