Summary: | Font size increments often have no effect | ||
---|---|---|---|
Product: | [Applications] kst | Reporter: | Nicolas Brisset <nicolas.brisset> |
Component: | general | Assignee: | kst |
Status: | RESOLVED INTENTIONAL | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 1.x | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Solaris | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Nicolas Brisset
2005-07-22 15:23:28 UTC
The reason it works as it does is so that when the plots are resized a sensible label size is calculated in all situations. Imagine a plot (essentially the size of the display) where the user has selected a size of 12 for the x-label in the plot dialog. If you want the label to retain its size relative to the plot size then you must scale the label size to the plot size. When the plot is large incrementing the label size by 1 will roughly increment the font size by 1. When the plot is small the font size will increase more slowly. I don't think there's any other way to do this that retains the scaling. Unfortunately this means that incrementing the label size doesn't always increment the font size. I understand the scaling problem and the need for a relative size, but would it be possible to implement my suggestion above: compute automatically the next value that results in a visible change and set the spinbox value accordingly ? |