##// END OF EJS Templates
Fix vanishing labels for first and last ticks....
Fix vanishing labels for first and last ticks. Extra space must be reserved by layout for the axes that have wide labels for first or last tick. Changed the logic how axis sizeHint is interpreted to make the previously irrelevant height or width (depending on orientation) of the sizeHint to indicate how far the widest label extends past the first/last tick, and adjust the grid size accordingly in layout. Reviewed-by: Mika Salmela

File last commit:

r2048:c04bfb196bae
r2443:5b27b7b1d72a RC2_1.2.1
Show More
examples.pri
16 lines | 467 B | text/plain | TextLexer
!include( ../config.pri ) {
error( "Couldn't find the config.pri file!" )
}
DESTDIR = $$CHART_BUILD_BIN_DIR
OBJECTS_DIR = $$CHART_BUILD_DIR/examples/$$TARGET
MOC_DIR = $$CHART_BUILD_DIR/examples/$$TARGET
UI_DIR = $$CHART_BUILD_DIR/examples/$$TARGET
RCC_DIR = $$CHART_BUILD_DIR/examples/$$TARGET
TEMPLATE = app
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
# staticlib config causes problems when building executables
staticlib: CONFIG-=staticlib