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

Trouble with android behavior #12

Open
Garridovic opened this issue Aug 13, 2014 · 3 comments
Open

Trouble with android behavior #12

Garridovic opened this issue Aug 13, 2014 · 3 comments

Comments

@Garridovic
Copy link

Hello,
the widget runs perfectly in IOS, but in Android after the first open() call the other view in mainview gets cropped while in IOS it doesn't happend.

@ricardoalcocer
Copy link
Owner

Could you provide an example?

@sakae-nakajima
Copy link

I was experiencing the same. I visited the source code and noticed the line that sets the main window width:

if (OS_ANDROID)
newWidth /= Ti.Platform.displayCaps.logicalDensityFactor;

You will get your desired outcome when you comment out the lines above.

@anthonypenner
Copy link

Had same issue, commenting out that line as suggested works.

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