MantisBT - ParaView
View Issue Details
0010219ParaViewBugpublic2010-02-01 11:412016-08-12 09:57
Burlen 
Kitware Robot 
normalminoralways
closedmoved 
Development 
 
0010219: scalarbar widget font size
fonts are sized incorrectly, some of the labels use a larger font. See attached figs.

reproduce:

1) open octtree fractal source
2) add scalar bar legend
3) drag it so it has a horizontal orientation
4) drag it to make it small
No tags attached.
child of 0011107closed Ken Moreland Color scale font layout could be improved 
png scalarbar_font_1.png (3,248) 2010-02-01 11:43
https://www.vtk.org/Bug/file/7834/scalarbar_font_1.png
png

png scalarbar_font_2.png (2,876) 2010-02-01 11:43
https://www.vtk.org/Bug/file/7835/scalarbar_font_2.png
png
Issue History
2010-02-01 11:41BurlenNew Issue
2010-02-01 11:41BurlenFile Added: scalar_fonts.png
2010-02-01 11:42BurlenFile Deleted: scalar_fonts.png
2010-02-01 11:43BurlenFile Added: scalarbar_font_1.png
2010-02-01 11:43BurlenFile Added: scalarbar_font_2.png
2010-02-01 11:54Ken MorelandNote Added: 0019406
2010-02-01 14:38BurlenNote Added: 0019414
2010-02-01 14:38BurlenNote Edited: 0019414
2010-08-10 19:04Alan ScottRelationship addedchild of 0011107
2016-08-12 09:57Kitware RobotNote Added: 0037770
2016-08-12 09:57Kitware RobotStatusexpired => closed
2016-08-12 09:57Kitware RobotResolutionopen => moved
2016-08-12 09:57Kitware RobotAssigned To => Kitware Robot

Notes
(0019406)
Ken Moreland   
2010-02-01 11:54   
I don't really consider this a bug. This is an effect of the scalar bar trying to fit readable labels when you set the font size too big and make the scalar bar too small.

The scalar bar tries its best to fit the labels given the requested font size. It adjusts the precision of the numbers displayed to best fit within the space allotted. If you have made the scalar bar way to small to fit anything within the space and there is no way to represent the number even with reduced accuracy, then as a last resort the font size for a given label is reduced so that it fits. It is this last resort that you are forcing in these screen shots.

I do not think any of the alternatives are better. If you leave the font size as it is, the labels with write over each other and become unreadable. If you size all the fonts down, then all your labels will start shrinking because one does not fit, which can be very confusing behavior.
(0019414)
Burlen   
2010-02-01 14:38   
Sure, PV does the right thing and shrinks the font if you make the scalar bar smaller. But, all of the labels should then use the same smaller font size.

I don't find that confusing. you shrink the scalar bar, the font shrink as well. If they are all the same size it looks fine and the user can make the scalarbar what ever size they need.

no one else complained so perhaps its my expectations that need tweaking :)

(0037770)
Kitware Robot   
2016-08-12 09:57   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current ParaView Issues page linked in the banner at the top of this page.