[TIMOB-12573] BlackBerry : Decreasing the height of the controls below certain value clips them where as increasing beyond a certain value stretches the view on which the controls sit
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Low |
| Status | Closed |
| Resolution | Hold |
| Resolution Date | 2015-04-14T17:12:29.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | BlackBerry |
| Labels | sdk-bb |
| Reporter | Lokesh Choudhary |
| Assignee | Pedro Enrique |
| Created | 2013-02-04T22:34:48.000+0000 |
| Updated | 2017-03-16T20:23:57.000+0000 |
Description
Description:
A.Controls getting clipped:
1.Run the code on BB simulator/device
var win = Ti.UI.createWindow();
var btn = Titanium.UI.createButton({
color:'#fff',
top: 100,
backgroundColor:'red',
width: 100,
height: 10
});
win.add(btn);
win.open();
2.Notice the output when the app launches
B.View behind the controls gets stretched:
1.1.Run the code on BB simulator/device
var win = Ti.UI.createWindow();
var btn = Titanium.UI.createButton({
color:'#fff',
top: 100,
backgroundColor:'red',
width: 100,
height: 100
});
win.add(btn);
win.open();
2.Observe the app after it launches
Actual Result:
A.The control does not resize itself according to the height but rather it gets clipped
B.The view holding the control gets stretched by increasing the control height & not the control
Attachments
| File | Date | Size |
|---|---|---|
| Screen Shot 2013-02-04 at 2.33.18 PM.png | 2013-02-04T22:34:48.000+0000 | 35889 |
| Screen Shot 2013-02-04 at 2.33.59 PM.png | 2013-02-04T22:34:48.000+0000 | 36438 |
Placing these items on hold for the moment based on community interest.
Closing ticket as BlackBerry is no longer supported by us.