Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[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 Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionHold
Resolution Date2015-04-14T17:12:29.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsBlackBerry
Labelssdk-bb
ReporterLokesh Choudhary
AssigneePedro Enrique
Created2013-02-04T22:34:48.000+0000
Updated2017-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

FileDateSize
Screen Shot 2013-02-04 at 2.33.18 PM.png2013-02-04T22:34:48.000+000035889
Screen Shot 2013-02-04 at 2.33.59 PM.png2013-02-04T22:34:48.000+000036438

Comments

  1. Ingo Muschenetz 2015-04-14

    Placing these items on hold for the moment based on community interest.
  2. Lee Morris 2017-03-16

    Closing ticket as BlackBerry is no longer supported by us.

JSON Source