Page 1 of 1
Resize Span component in the builder?
Posted: Tue Dec 25, 2012 7:12 pm
by Agon Bina
currently the builder won't allow me to make the size of a panel component set to Span, to a size smaller than 100 px. Is there any way to do this? Or can you change it so we can make the Span smaller than 100 px?
Thnx
Resize Span component in the builder?
Posted: Wed Dec 26, 2012 9:56 am
by Maryna Brodina
Hello! I was able to change panel size
Could you try again? Please let us know about the result
Resize Span component in the builder?
Posted: Wed Dec 26, 2012 9:59 am
by Agon Bina
well, first off I am using the flash builder, second your Type is set to html, if you set it to Span, it won't let you change the width to less than 100 (in the flash builder,I don't know about the new html5 builder)
Resize Span component in the builder?
Posted: Wed Dec 26, 2012 10:01 am
by Maryna Brodina
I updated the screenshot. I'll test in flash-based builder
Resize Span component in the builder?
Posted: Wed Dec 26, 2012 11:18 am
by Maryna Brodina
Yes, it's not possible, I'll ask our developer team what we can do here.
Resize Span component in the builder?
Posted: Wed Dec 26, 2012 1:02 pm
by Maryna Brodina
There is no way to make width less then 100px, but you can run JS which can change Panel width on preview
Tiggzi('mobilepanel1').width('50px')
Resize Span component in the builder?
Posted: Wed Dec 26, 2012 3:11 pm
by Eric5020946
not sure if that was fixed in new editor but in case you develop native app be aware that when you are looking at 640px project you can't use real pixel dimensions - they will look very small on really device with resulution 640x... px (ipjhone3 is 320px)
I hope that in the new builder when project is set up to 640px and panel to 200x200px you see zoomed-in view of this element to get real look at your project
Resize Span component in the builder?
Posted: Wed Dec 26, 2012 6:43 pm
by Agon Bina
If you're using css you can use % instead of px, ex 30% would make it as big as 30% of the total size of the width ... If that's what you were saying?
Resize Span component in the builder?
Posted: Wed Dec 26, 2012 6:46 pm
by Agon Bina
Thanks Marina, so does Tiggzi('componentName') work exactly the same as a jquery selector and I can use any method (like width() ) in this case, just the same way as I would do with jquery ?
Resize Span component in the builder?
Posted: Wed Dec 26, 2012 9:47 pm
by maxkatz
Yes, Tiggzi(..) is just a shortcut to jQuery selector: http://docs.tiggzi.com/javascript-api/