y-axis tick labels trimmed
I'm using qwtplot widgets in Qt Designer, with MS tools (i.e. Visual Studio). All works very well. I have one small gripe. In some cases the tick labels on the y axis are trimmed on the left, making '8' look like '3', for example. When the maximum on the y axis is, say 0.5, the '0's of the tick labels for 0.1, 0.2, 0.3, 0.4 and 0.5 all have about 1/3 cut off on the left.
I've tried changing the font size, but this doesn't have any effect, in fact the program seems to ignore the font information in the .ui file. The correct info is in the ui_xxx.h file, but that seems to be ignored. Is this just a Visual Studio issue?
Re: y-axis tick labels trimmed
Quote:
In some cases the tick labels on the y axis are trimmed on the left, making '8' look like '3', for example.
I remember that I have fixed such a bug some time ago. Try:
svn co https://qwt.svn.sourceforge.net/svnroot/qwt/branches/qwt-5.2
Quote:
I've tried changing the font size, but this doesn't have any effect, ...
There are many different fonts used in a plot widget. Setting a font somewhere doesn't change them all.
Uwe
Re: y-axis tick labels trimmed
Thanks Uwe! I haven't used Subversion, but from the CHANGES file I could see which files I needed to download. I rebuilt the library and the tick label problem is solved. Soon I must learn to use Subversion.
Cheers
Gib