You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@forrest.apache.org by Manuel <ko...@web.de> on 2008/11/07 10:30:06 UTC

Clipped group image

Hi

I'm trying to use forrest 0.8 and modified the example content created by
'forrest seed'.

After changing content of <group-name> in skinconf.xml I noticed that the
created group png image is clipped. Group name contains 15 characters and
the first characters are clipped in the image. I tried to add multiple
&nbsp;'s to the start of group name to shift it to the left, but afterwards the
last characters are clipped in the png !?

Any clue how to solve this ?

kind regards
Manuel


Re: Clipped group image

Posted by Thomas Witteriede <th...@witteriede.eu>.
Manuel schrieb:
> Hi
>
> I'm trying to use forrest 0.8 and modified the example content created by
> 'forrest seed'.
>
> After changing content of <group-name> in skinconf.xml I noticed that the
> created group png image is clipped. Group name contains 15 characters and
> the first characters are clipped in the image. I tried to add multiple
> &nbsp;'s to the start of group name to shift it to the left, but afterwards the
> last characters are clipped in the png !?
>
> Any clue how to solve this ?
>
> kind regards
> Manuel
>
>
>   
Hi,

You can change the width of your group-logo by editing the file
"group.svg" in 
<your-project-folder>/src/documentation/content/xdocs/images/

Find the lines
 &lt;svg xmlns="http://www.w3.org/2000/svg"
     xmlns:xlink="http://www.w3.org/1999/xlink"
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     xsl:version="1.0"
     xmlns:for="http://apache.org/forrest"
     width="420" height="65" &gt;

and edit the width so that your string fits (might require several tries).

Best regards
Thomas