Hello,

I just updated a local copy of Qwt in our program from an old SVN version (November, I think; when it had an old legend code) to the newest one and made minor updates to the program for it to compile.
However, I get strange scrollbars in the legend, even if it contains only one line of entries.
Calling QwtLegend::updateGeometry() after QwtPlot::replot() helps on some plots (the scrollbar disappears), but not all (not sure of the difference between them). They mostly appear on subsequent calls to replot(), not the first one (I think).
I'm attaching a screenshot of our plot which shows the problem.

I can get a somewhat similar result with Qwt's "Legends" example. Not sure if its the same problem or not, though.
To reproduce: Open "legends" example, enable "Legend", set position to Bottom, increase/decrease the number of curves. Scrollbars should appear in the legend (they appear for me for 2 curves and more, for example, and sometimes 1 as well).

Thanks a lot!

qwt_legend_scrollbars.png