Sub shapes resize problem...




Hi.

Im having a hard time with Dia subshapes, i made a shape, it contains
a sub shape (im using Dia 0.97 under Windows XP service pack 3) but when i try to resize the
sub shape (in a indepentently way) nothing happend´s, there´s no way that i can resize the sub shape.

I read the subshape topic from the Dia manual that came
with the instalation pack and there´s nothing that can help, the same here

http://dia-installer.de/doc/en/custom-shapes-chapter.html

and here

http://git.gnome.org/browse/dia/tree/doc/custom-shapes

and here

http://projects.gnome.org/dia/custom-shapes


and the FAQ´s in dia homepage.


Here´s and example that i follow to create a subshape

http://markmail.org/message/pstvfnz6vno7jwdq?q=dia:subshape%3D%22true%22&page=1&refer=2ardurqupb7alvxg


I read all the thread´s from this list starting from 2010-February
all the way back to 2009-January and there´s nothing also
about this subshape issue.

Here´s my code in case any of you may get a clue about whats going on.
It´s very small, all i need it´s a rectangle that can be indepentently resizable inside another rectangle.

<?xml version="1.0" encoding="utf-8"?>
 <shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg">
     <name>GUI-Form </name>
    <icon>GUIForm.png </icon>
   
     <aspectratio type="fixed"/>
     <!-- <textbox x1="0" y1="0" x2="10" y2="10" align="left"/>  -->
     
  <svg:svg>   
   
        <!-- Marco de la forma -->
        <svg:rect x="0" y="0" width="100" height="100"/>
        <svg:rect style="stroke: foreground" x="0" y="0" width="100" height="100"/>
           
    <svg:g dia:subshape="true" dia:v_anchor="fixed.top" dia:h_anchor="fixed.left" dia:default_scale="1.0">       
        <!-- Rectangulo para el caption de la forma -->
        <svg:rect x="0" y="0" width="60" height="15"/>
        <svg:rect style="stroke: foreground; fill:default" x="0" y="0" width="60" height="15"/>
    </svg:g>   
 
  </svg:svg>   

</shape>

Azazel xeS





Hotmail: Powerful Free email with security by Microsoft. Get it now.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]