Re: legend, title font/size qwtplot
Brought to you by:
rathmann
|
From: Uwe R. <Uwe...@ti...> - 2006-11-14 22:20:35
|
On Tuesday 14 November 2006 14:28, Guillaume Libert wrote: > I would like to change the size of my curve's legend and my axis' title. I > think I have to use qwttext class, ... The sizeHint of legend and axis widgets depend on the text that is displayed on them. The layout of the plot widget depends on these sizeHints and should be adjusted, whenever you change the texts. So simply assign a new title and the layout should be recalculated. In detail: the layout is updated with QwtPlot::updateLayout, but you should not have to call it manually, because QwtPlot handles LayoutRequest events from its children. Uwe |