[Kst] [Bug 140520] Font size for newly created plot is incorrect

netterfield at astro.utoronto.ca netterfield at astro.utoronto.ca
Fri Feb 16 16:09:06 CET 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=140520         




------- Additional Comments From netterfield astro utoronto ca  2007-02-16 16:09 -------
Created an attachment (id=19709)
 --> (http://bugs.kde.org/attachment.cgi?id=19709&action=view)
Proposed fix

The proposed patch retains the previous behavior (enlarged fonts when creating
multiple plots) only in the case where there are no other plots in the window.

If there are are other plots in the window already, the font size of the first
plot in the window is used for the new plots (this applies to all dialogs).

To do this for everthing but the Wizard, a createPlot method was added to
kstViewWindow.	The wizard, as it deals with multiple plot creation, can't use
it.

The patch also includes a variable name change: a 2dplot list in the
datawizard.ui.h is changed from 'l' to 'vlist' for several unimportant but
obvious reasons.


More information about the Kst mailing list