hi everyone,
i finally got my "multiple-plot-widget" to work, using a QVBoxLayout which contains serveral plots.
down at the bottom, below all the plots, is a scale which should apply to all plots. therefore, all the plots (i think it's what you call their canvas) have to have the same width - independent from the length of each one's legend text.
here's a screenshot of what it looks like now:
as you can see, the painting area's width depends on the legend text's length.
i tried filling all the legend texts with less characters with spaces, so they're the same length as the longest one, but that doesn't work well, because all the characters have individual widths themselves.
so my question is, how can i make sure the width of the canvas/painting area is always the same width (in all plots), no matter how long the legend text is?
thanks in advance and sorry for my poor english!
sincerely,
julian
Bookmarks