Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2811] Picker width not 100% on iPad

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionInvalid
Resolution Date2012-07-26T15:37:07.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labels2.0.1, 5.0, ios, ipad, picker
ReporterLutz Bayer
AssigneeNikhil Sharma
Created2012-07-25T02:00:33.000+0000
Updated2016-03-08T07:47:44.000+0000

Description

Problem

*Description:* I've was wondered because in Ti Mobile SDK 1.8.2 the picker works great and fills the full width. From Ti Mobile SDK 2.0.1 it doesn't seem to have the same behavior? *Steps to reproduce:* 1) Download the project and run it with an Ti Mobile SDK beginning from 2.0.1.GA 2) Run the Simulator *Result:* Picker with an width of iPhone (320dp) *Expected Result:* Full width picker like in Ti Mobile SDK 1.8.2

Test case

See the attached file/ project for the test case. Copy 'n pasted from the docs (http://docs.appcelerator.com/titanium/2.1/#!/api/Titanium.UI.PickerRow). See the attached screenshots for a quick view for the problem.

Logs

no logs

Discussions

http://developer.appcelerator.com/question/140081/ipad-picker-dont-size-correctly-width-ios-51-sdk-210ga

Attachments

FileDateSize
Bildschirmfoto 2012-07-25 um 10.58.05.png2012-07-25T02:00:33.000+0000159099
Bildschirmfoto 2012-07-25 um 10.58.52.png2012-07-25T02:00:33.000+0000157327
picker_width_ipad.zip2012-07-25T02:00:33.000+00001579825

Comments

  1. Lutz Bayer 2012-07-25

    Sorry for not using the Template: https://wiki.appcelerator.org/display/guides/JIRA+Ticket+Template
  2. Lutz Bayer 2012-07-26

    Weird thing: With width: Ti.UI.FILL it works. I mean I've tried this. Sorry for that. This ticket can be closed.

JSON Source