+1
Answered

Graphics

Lcdrgreg 8 years ago updated by icahill (Administrator) 8 years ago 5
I am trying to create an app with a web type structure, is there an easy way to connect panels with a line?
you can create a line in WIRE by making a panel 1px in width and 100% in height and then making sure your main panels are right next to it.

Can you post a screenshot of what you are trying to achieve?
kind of figured that, how can I adjust start and end points, seems that would only make vertical or horizontal lines.

You could use the rotate tag to move these lines around in your WIRE. You would probably need to assign xpos and ypos to position them how you want.


<wire>
<main>
<panel name="main" width="100%" height="100%" background="ffffff">
<panel name="ONE" alias="ONE" align="center" valign="center" width="50%" height="5" background="000000" alpha="0"></panel>
<panel name="TWO" width="15%" height="18%" background="ffffff" borderwidth="5" bordercolor="000000" xpos="23%" ypos="21%" onclickup="spin" cornerradius="55"></panel>
</panel>
</main>

<action name="spin" >
<sync>
<rotate time="0" times="1" curve="linear" degrees="45" target="ONE"/>
<alpha value="1" target="ONE" />
</sync>
</action>
</wire>


Of course you could always decide to display this with an image as well.
Thanks Ian, works great... little tricky getting the lines located right, but fun.

We are working on a few rarewire apps here at CAPS and could really use some help to get the students started. Is there a way for a wire expert to come to CAPS morning afternoon or both to help the students plan and get started on their project?

Thanks.
Greg,

email me at community@rarewire.com and we can work out some details. We would be more than happy to come out and see what we can do.