I've attached a quick example that shows where I'm struggling. If you look in the MainWindow constructor I've got a
sequence. When that preprocessor directive is true, the application looks pretty good, all the plots are lined up, and all the legend items are fully displayed, with no scroll bars showing. If you switch the true to a false then the plots get curves loaded in a slot (which is closer to my applications actual behavior) and in that version the longer strings don't fit as well within their respective legends and some scrollbars are visible.
I haven't tried inheriting from QwtAbstractLegend yet, I've been trying too many variations on this theme, but I might give it a shot...
Bookmarks