Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Issue with CompositeNode Template (Read 2528 times)
Jonathan Terrell
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 13
Joined: May 19th, 2015
Issue with CompositeNode Template
May 26th, 2015 at 10:04pm
Print Post  
Hi, I have been attempting to create a custom node that inherits from CompositeNode. Everything works very well, except for my xml template. No mater what I try with column widths and row heights the columns and rows are always evenly distributed across the width or height of the node. That is each column has the same width and each row has the same height. The examples indicate that you can control the widths of columns and heights of rows. My program has no logic other than to populate the image and text components. I have include my template below. Any guidance would be appreciated. Thanks, Jonathan

<SimplePanel>
    <Shape Name="shape" Shape="Rectangle"/>
    <Border>
        <GridPanel>
            <GridPanel.Columns>
                <GridColumn Width="1"/>
                <GridColumn/>
                <GridColumn Width="1"/>
            </GridPanel.Columns>
            <GridPanel.Rows>
                <GridRow Height="75"/>
                <GridRow Height="1"/>
                <GridRow/>
            </GridPanel.Rows>
            <StackPanel Orientation="Horizontal">
                <Image Name="image"/>
                <Text Name="text"/>
            </StackPanel>
            <Shape GridColumn="1" GridRow="1" Name="divider" Shape="Rectangle"/>
            <Text GridColumn="1" GridRow="2" Name="description"/>
        </GridPanel>
    </Border>
</SimplePanel>
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Issue with CompositeNode Template
Reply #1 - May 27th, 2015 at 12:04pm
Print Post  
Hi,

This build should fix that:
https://mindfusion.eu/_temp/DroidDiagram.zip

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Jonathan Terrell
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 13
Joined: May 19th, 2015
Re: Issue with CompositeNode Template
Reply #2 - May 29th, 2015 at 9:29am
Print Post  
Works. Thank you
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint