plug-ins/script-fu/scripts/alien-glow-button.scm

2003-05-17  Dave Neary  <bolsh@gimp.org>

        * plug-ins/script-fu/scripts/alien-glow-button.scm
        * plug-ins/script-fu/scripts/beveled-button.scm
        * plug-ins/script-fu/scripts/beveled-pattern-button.scm:
        Applied patch from Tor Lilliqvist <tml@iki.fi> which
        fixes the same problem as that reported in bug #77572.
This commit is contained in:
Dave Neary
2003-05-17 08:59:01 +00:00
committed by David Neary
parent e34d3621d7
commit b53cdf5f17
4 changed files with 11 additions and 14 deletions

View File

@ -50,10 +50,7 @@
(ypadding 6)
(width (+ (* 2 xpadding)
(- (text-width text-extents)
(text-width
(gimp-text-get-extents-fontname
" " text-size PIXELS font)))))
(text-width text-extents)))
(height (+ (* 2 ypadding)
(+ ascent descent)))