ad443dfb1d
List decorators may be clipped if you set a large font size and/or small indent for a QTextList. This fix is to prevent clipping by moving list decorators and items to left (or to right in case of right to left layouts) so that the list decorator is always painted inside the layout. This commit fixes painting related issue, so auto test is not needed. The manual test program can be used for verification purposes. Task-number: QTBUG-5111 Change-Id: I7fdd92399445d33fe9eaf525a05fe5cd860b57c6 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
9 lines
235 B
Prolog
9 lines
235 B
Prolog
#This project can be used to verify QTBUG-5111 case.
|
|
QT += core gui
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
TARGET = qtexteditlist
|
|
TEMPLATE = app
|
|
SOURCES += main.cpp widget.cpp
|
|
HEADERS += widget.h
|
|
FORMS += widget.ui
|