Hi,

The documentation says that a TopLegend should be located between the xTop axis and the title. But when I tried the following example, the legend was located above the plot title.
Is this a bug, an error in the doc or got I something wrong?

Qt Code:
  1. #include <qwt/qwt_plot.h>
  2. #include <qwt/qwt_plot_curve.h>
  3. #include <qwt/qwt_legend.h>
  4.  
  5. #include <QApplication>
  6.  
  7. int main(int argc, char *argv[])
  8. {
  9. QApplication a(argc, argv);
  10.  
  11. QwtPlot *plot = new QwtPlot;
  12.  
  13. plot->setTitle(QString("TestTitle"));
  14. plot->insertLegend(new QwtLegend, QwtPlot::TopLegend);
  15.  
  16. QwtPlotCurve *curve = new QwtPlotCurve("Test");
  17. curve->attach(plot);
  18.  
  19. plot->show();
  20.  
  21.  
  22. return a.exec();
  23. }
To copy to clipboard, switch view to plain text mode 

Tried with qwt 6.0.1 from Ubuntu 12.04 Repo and 6.0.2 svn

Regards,
Stefan