Rod, there are two possible approaches I might suggest.
Add the following lines to your
.gimp-2.6/gtkrc file:
style "gimp-default-style"
{
font_name = "sans 10"
}
This will change the font that GIMP uses for text appearing in its interface. You may choose a different font and a different size, of course; but the idea is that by switching to a smaller font, the script's dialog will be smaller.
If you don't wish to change the font (which changes ALL of the text in the interface: menus, dialogs, etc) then you might consider the following changes to Art's script:
At the beginning of the script, right after the line containing "
(define (script-fu-fire-anim img", delete the lines containing "foregroundColor", "backgroundColor", and "addBorder". We are going to modify things such that the script uses the current active settings for the FG and BG; and we are also going to let the user specify a border width of "0" to indicate that he does not want a border.
The next block of code you'll see -- after a comment line "Declare the Variables" -- starts with "
(let* (". Insert the following lines directly after that line:
(foregroundColor (car (gimp-context-get-foreground)))
(backgroundColor (car (gimp-context-get-background)))
(addBorder (if (zero? borderWidth) FALSE TRUE ))
Finally, we can remove those three widgets from the dialog interface. Near the end of the file, you will find a line containing '
(script-fu-register "script-fu-fire-anim"'. Remove the following lines from that section of code:
SF-COLOR "Desired Flame Foreground Color (Only used if gradient is not applied)" '(255 132 0)
SF-COLOR "Desired Flame Background Color (Only used if gradient is not applied)" '(0 0 0)
SF-TOGGLE "Add Border?" TRUE
And also edit the SF-ADJUSTMENT line that follows to: (note that the second number is "0", not "1")
SF-ADJUSTMENT "Border Width (0=none)" '(1 0 10 1 1 0 1)
After making these changes, your new dialog should be just a little bit smaller (hopefully, enough) and appear as shown below:
Attachment:
SSfp-flame.png [ 10.87 KiB | Viewed 3062 times ]