##// 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:

r2398:1e18d6a3f6b0
r2569:f4eaee212ddc
Show More
chartviewer.pro
8 lines | 250 B | text/idl | PrologLexer
!include( ../tests.pri ):error( "Couldn't find the demos.pri file!" )
include(charts/charts.pri)
TARGET = chartviewer
QT += opengl
INCLUDEPATH += .
SOURCES += main.cpp window.cpp view.cpp grid.cpp
HEADERS += window.h view.h charts.h model.h grid.h