Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Label randomly not being rendered #9

Open
albert0m opened this issue Jan 31, 2013 · 6 comments
Open

Label randomly not being rendered #9

albert0m opened this issue Jan 31, 2013 · 6 comments

Comments

@albert0m
Copy link

Randomly labels in the carousel will not contain a value even if it's set.

This is what I checked

  • The width and height are not set to "auto", Ti.UI.SIZE or Ti.UI.FILL, they are fixed sizes
  • I used either a custom fontFamily or a native one (and even didn't set
    it at all)
  • Tried to remove any kind of styling property like textAlign and such
  • It happens on different kinds of Carousels
  • It happens both on simulator and real device.

SAMPLE CODE:
http://pastebin.com/ZGYg66VQ

@traxwriter
Copy link

Same problem here, seems to be random, have you found anything marconealberto

@albert0m
Copy link
Author

the developer acknowledged the bug but never found a solution

@albert0m
Copy link
Author

I just found a workaround for it: just convert your label into an image:

http://pastebin.com/cS7PgUQ6

you won't be able to modify it later, but it's something to start with.

@cbodin
Copy link

cbodin commented Sep 22, 2013

I got it working by reloading the data when the window opened.

win.addEventListener('open', function () {
    carousel.reloadData();
});

@albert0m
Copy link
Author

the two workarounds (conversion to image and reloadData) don't work anymore since TiSDK 3.2.3 .

@ElRochito
Copy link

with reloadData don't work.
work with conversion to image but image is rasterized

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants