##// END OF EJS Templates
Adjust various margins and paddings....
Adjust various margins and paddings. The text items have been changed to use QGraphicsTextItem bounding rects instead of calculating dimensions using QFontMetrics. It seems that QGraphicsTextItem boundingRect involves a lot more of a margin than QFontMetrics provided. To compensate, various margins and paddings have been adjusted lower. Change-Id: Idebf939f5dd804fb96daeaea4bbf1b45f4f02908 Reviewed-by: Mika Salmela <mika.salmela@digia.com>

File last commit:

r2368:6a035c04dc6b
r2569:f4eaee212ddc
Show More
presenterchart.pro
8 lines | 208 B | text/idl | PrologLexer
!include( ../tests.pri ) {
error( "Couldn't find the examples.pri file!" )
}
TARGET = presenterchart
HEADERS += chartview.h
SOURCES += main.cpp chartview.cpp
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets