Your comments
Are you loading sub wires oninit as well?
12 years ago
The create tag is used to build a class on the fly based on a triggered action. In your scenario you would need to create your panel(s) as a class with variable content. (see Classes Tutorial).
Then on your button you can add an onclickup to trigger an action that will create your class. A create tag essentially takes the place of the object tag when using classes.
Because you require that your created panels have different content, you may have to determine several different create tags and wrap them in a randomgroup tag within your action to allow for different panels to get created at random.
Then on your button you can add an onclickup to trigger an action that will create your class. A create tag essentially takes the place of the object tag when using classes.
Because you require that your created panels have different content, you may have to determine several different create tags and wrap them in a randomgroup tag within your action to allow for different panels to get created at random.
<wire>
<classes>
<class name="panel">
<panel name="[param:name]" width="100%" height="100%" onclickup="[param:action]"></panel>
</class>
</classes>
<main>
<panel name="button" width="40" height="40" background="ff0000" onclickup="create"></panel>
<panel name="container" alias="CONTAINER" width="90%" height="90%" valign="bottom"></panel>
</main>
<actions>
<action name="create">
<randomgroup>
<create class="panel" name="1" onclickup="action1" target="CONTAINER"/>
<create class="panel" name="2" onclickup="action2" target="CONTAINER"/>
<create class="panel" name="3" onclickup="action3" target="CONTAINER"/>
</randomgroup>
</action>
</actions>
</wire>
Richard,
I was not aware that you were using padding attributes in your code. Regardless this does seem like an issue that I will need to dig deeper into. Would it be possible for you to add me as a collaborator on your project (icahill@rarewire.com) so I can see first hand what you are experiencing.
If it turns out to be a larger bug, then I will be able to escalate it accordingly. Thanks for taking the time to post in the community, this is extremely helpful as we try to track down bugs.
I was not aware that you were using padding attributes in your code. Regardless this does seem like an issue that I will need to dig deeper into. Would it be possible for you to add me as a collaborator on your project (icahill@rarewire.com) so I can see first hand what you are experiencing.
If it turns out to be a larger bug, then I will be able to escalate it accordingly. Thanks for taking the time to post in the community, this is extremely helpful as we try to track down bugs.
Have you been logged into Twitter within the iOS Settings?
Nathan,
Can you give me a little more information on the device you are using? Does it have ios 6? Are you logged into Twitter from the settings app on the device?
With Twitter changing their API settings to 1.1 and requiring authentication to see a feed and to post, our twitter integration is a little off depending on the scenario you are in.
Can you give me a little more information on the device you are using? Does it have ios 6? Are you logged into Twitter from the settings app on the device?
With Twitter changing their API settings to 1.1 and requiring authentication to see a feed and to post, our twitter integration is a little off depending on the scenario you are in.
It appears that it is stretching 100% of the Lheight and Lwidth based on your tag. If it is anything less then it will stretch 100% unless you remove one or the other of height and width.
Perhaps your beforeyouvisit_wide.png image has its aspect ratio reversed. That is, 768 x 1024 rather than 1024 x 768.
Perhaps your beforeyouvisit_wide.png image has its aspect ratio reversed. That is, 768 x 1024 rather than 1024 x 768.
There are a couple of things you can do in this situation. The first is that you can remove the height attributes and allow the image to stretch to 100% width and the height will fall in proportion to its dimensions. This will help keep the image from looking squashed.
You could also consider using an attribute called "widesource" in which you can serve a different image when the device is in landscape. That way you could provide an image that is in a more appropriate dimension.
You could also consider using an attribute called "widesource" in which you can serve a different image when the device is in landscape. That way you could provide an image that is in a more appropriate dimension.
Nathan,
I am not seeing your example code. Can you wrap it in a < code > block please.
Thank you.
I am not seeing your example code. Can you wrap it in a < code > block please.
Thank you.
Text expander is its own program and it doesn't talk directly with the WIRE editor. It is a nice to have if you are using a different text editor than our studio version.
The amount and size of the images could be affecting memory depending on the device you are looking at it on.
Are you loading the datasource oninit or based on an action? Have you considered using a tableview instead of a list?
Are you loading the datasource oninit or based on an action? Have you considered using a tableview instead of a list?
Customer support service by UserEcho