Bernd Maier wrote:

> 1) in key.py:
> - I added a new property:
> "s.add(setting.Distance('keyGap', '0.2cm', descr = 'Gap between key
> and keytext', usertext= 'key-text gap', formatting=True))"
> 
> - then the total box size changes:
> "# total size of box
>  gap = s.get('keyGap').convert(painter) #added this line
>  symbolwidth = s.get('keyLength').convert(painter)
>  totalwidth = ( (maxwidth + gap + symbolwidth)*numcols +
> height*(numcols-1) ) #changed height to gap here"
> 
> - writing the key text must be changed as well:
> "# write key text
>  if showtext:
>    painter.setPen(textpen)
>    utils.Renderer(painter, font,
>                   xpos + gap + symbolwidth, ypos,
>                   plotter.getKeyText(num),
>                  -1, 1).render() # changed height to gap"
> 
> - now you can change the gap between key and keytext by a property box
>  in the GUI.
> 
> 2) Here, I only changed the width of the errorbar-ends the way I like it:
> 2/3 of the symbol width. A control box here would be nice too.
> 
> I would appriciate, if this would be considered by Jeremy Sanders for the
> next version of Veusz. Many thanks!!

Sorry for not replying earlier Bernd - I'll try to include your requests in 
the next release. I'm glad it was easy for you to fix yourself!

Jeremy



_______________________________________________
Veusz-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/veusz-discuss

Répondre à