[AC-2987] Facebook button style: wide. Bug after going back to login window. Facebook button is squeezed!
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Needs more info |
Resolution Date | 2011-06-25T03:35:39.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | facebook, iphone |
Reporter | Karol Pomaski |
Assignee | Tony Guntharp |
Created | 2011-05-25T09:17:29.000+0000 |
Updated | 2016-03-08T07:47:59.000+0000 |
Description
In my application I have a login window. Through this we are able to login using facebook account. So we click on the button and we log in (the window changes). Later if we would like to log out we press the button and we return back to the login window on which we see the "Login with Facebook" button squeezed.
The facebook button code:
var fbButton = Titanium.Facebook.createLoginButton({
bottom: 30,
style: 'wide'
});
The logout code:
Titanium.Facebook.addEventListener('logout', function()
{
bAutenticated = false;
sUser = '';
LogOut();
});
Titanium.App.addEventListener('LogOut', function(e){
bAutenticated = false;
sUser = '';
Titanium.Facebook.logout();
LogOut();
});
function LogOut()
{
tabGroup.close();
tabGroup.removeTab(tab1);
tabGroup.removeTab(tab2);
tabGroup.removeTab(tab3);
tabGroup.addTab(tab);
tabGroup.setActiveTab(0);
tabGroup.open({
transition:Titanium.UI.iPhone.AnimationStyle.FLIP_FROM_RIGHT
});
};
I also enclose the printscreens (one is before we login and the second screen after logout).
Attachments
File | Date | Size |
---|---|---|
Screen shot 2011-05-25 at 11.14.51 AM.png | 2011-05-25T09:17:29.000+0000 | 20417 |
Screen shot 2011-05-25 at 11.15.53 AM.png | 2011-05-25T09:17:29.000+0000 | 15899 |
In order for us to progress this issue, please edit your ticket to include a proper [Use-case](http://wiki.appcelerator.org/display/guides/Contributing+to+Titanium#ContributingtoTitanium-CreatingGoodUsecases) (ie one that runs without modification) Also, state the Titanium SDK version, date and hash that exhibits the issue. Kindly read the [Submitting Bug Reports](http://wiki.appcelerator.org/display/guides/Contributing+to+Titanium#ContributingtoTitanium-SubmittingBugReports) guide before raising tickets. Thank you
No response from user
Closed after 30 days of inactivity.